/* ==========================================================================
   DESIGN SYSTEM - DR. V. V. S. CHANDRASEKHARAM PORTFOLIO
   ========================================================================== */

:root {
    /* HSL Color Palette */
    --color-teal: #2A6F6D;
    --color-teal-rgb: 42, 111, 109;
    --color-light-teal: #E0F2F1;
    --color-sage: #A5C8CA;
    --color-ivory: #FAF9F6;
    --color-gold: #D4AF37;
    --color-indigo: #1F2937;
    --color-indigo-rgb: 31, 41, 55;
    --color-text: #334155;
    --color-bg: #FCFCFA;
    --color-white: #ffffff;

    /* Fonts */
    --font-serif: "Playfair Display", Georgia, serif;
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: "DM Sans", sans-serif;

    /* Shadows */
    --shadow-soft: 0 4px 20px -2px rgba(42, 111, 109, 0.08);
    --shadow-glow: 0 0 15px rgba(42, 111, 109, 0.2);
    --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ==========================================================================
   RESET & BASICS
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Selection styles */
::-moz-selection {
    background-color: var(--color-teal);
    color: var(--color-white);
}

::selection {
    background-color: var(--color-teal);
    color: var(--color-white);
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-indigo);
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    display: block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-ivory);
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Utility Containers */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hidden {
    display: none !important;
}

.relative-z-10 {
    position: relative;
    z-index: 10;
}

/* Glassmorphism utility */
.glass {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.15rem 0;
    transition: all 0.35s ease;
    background-color: transparent;
}

/* Scrolled state with glassmorphism */
.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 0.65rem 0;
    box-shadow: 0 4px 25px rgba(15, 23, 42, 0.08);
    border-bottom: 1px solid rgba(42, 111, 109, 0.12);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2.25rem;
    width: 100%;
    gap: 1.5rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
    text-decoration: none;
    transition: var(--transition-smooth, all 0.3s ease);
}

.nav-brand-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-brand-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: var(--transition-smooth, transform 0.3s ease);
}

.nav-brand:hover .nav-brand-logo,
.nav-brand-logo-link:hover .nav-brand-logo {
    transform: scale(1.05);
}

.brand-text {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.brand-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 750;
    color: var(--color-teal, #2A6F6D);
    transition: var(--transition-smooth);
    white-space: nowrap;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 0.58rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #64748b;
    margin-top: 0.15rem;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.nav-brand:hover .brand-title,
.brand-text:hover .brand-title {
    color: var(--color-indigo, #1e293b);
}

.nav-brand:hover .brand-subtitle,
.brand-text:hover .brand-subtitle {
    color: var(--color-teal, #2A6F6D);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    flex-wrap: nowrap;
}

.nav-link {
    font-size: 0.8125rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #475569;
    position: relative;
    padding: 0.35rem 0;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.25s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-teal, #2A6F6D), var(--color-gold, #D4AF37));
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--color-teal, #2A6F6D);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo img {
    width: 105px;
    height: auto;
    object-fit: contain;
    opacity: 0.94;
    transition: var(--transition-smooth);
}

.nav-logo img:hover {
    opacity: 1;
    transform: translateY(-1px);
}

/* Call-to-Action Button */
.btn-appointment {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: linear-gradient(135deg, #2A6F6D 0%, #1e5250 100%);
    color: #ffffff;
    padding: 0.58rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(42, 111, 109, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-icon {
    width: 14px;
    height: 14px;
    stroke-width: 2.5;
}

.btn-appointment:hover {
    background: linear-gradient(135deg, #1e5250 0%, #173f3e 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(42, 111, 109, 0.35);
    color: #ffffff;
}

/* Responsive adjustments for Navigation */
@media (max-width: 1280px) {
    .nav-container {
        padding: 0 1.5rem;
    }

    .nav-menu {
        gap: 0.95rem;
    }

    .nav-link {
        font-size: 0.75rem;
        letter-spacing: 0.04em;
    }

    .btn-appointment {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 1060px) {
    .nav-menu {
        display: none !important;
    }

    .mobile-toggle {
        display: flex !important;
    }

    .brand-title {
        font-size: 1.2rem;
    }

    .brand-subtitle {
        font-size: 0.52rem;
    }
}

/* Hamburger toggle menu */
.mobile-toggle {
    display: none;
    background: rgba(42, 111, 109, 0.08);
    border: 1px solid rgba(42, 111, 109, 0.15);
    color: var(--color-indigo, #1e293b);
    cursor: pointer;
    padding: 0.55rem;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.mobile-toggle:hover {
    background: var(--color-teal, #2A6F6D);
    color: #ffffff;
}

.mobile-toggle svg {
    width: 26px;
    height: 26px;
}

/* Mobile navigation drawer */
.mobile-drawer {
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--color-white);
    z-index: 99;
    overflow: hidden;
    transition: var(--transition-slow);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.mobile-drawer.open {
    height: calc(100vh - 75px);
}

.drawer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 1.5rem;
    gap: 2.5rem;
}

.drawer-link {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--color-indigo);
}

.drawer-link:hover {
    color: var(--color-teal);
}

.btn-appointment-mobile {
    display: block;
    width: 100%;
    max-width: 300px;
    text-align: center;
    background-color: var(--color-teal);
    color: var(--color-white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    margin-top: 1.5rem;
}

.btn-appointment-mobile:hover {
    background-color: var(--color-indigo);
}

.hero-desc.fade-in-after-type,
.hero-buttons.fade-in-after-type,
.hero-quick-stats.fade-in-after-type {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-desc.fade-in-after-type.visible,
.hero-buttons.fade-in-after-type.visible,
.hero-quick-stats.fade-in-after-type.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 9.5rem 0 6rem 0;
    background: linear-gradient(135deg, var(--color-bg) 0%, #edf7f6 100%);
    overflow: hidden;
}

.hero-bg-gradients {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.gradient-radial {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(42, 111, 109, 0.08) 0%, rgba(240, 253, 250, 0) 70%);
    border-radius: 50%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-promo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background-color: var(--color-white);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    border: 1px solid rgba(42, 111, 109, 0.15);
    box-shadow: var(--shadow-soft);
    margin-bottom: 1.75rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-teal);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

.badge-text {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-teal);
    text-transform: uppercase;
    font-family: var(--font-sans);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-indigo);
    margin-bottom: 1.5rem;
    line-height: 1.15;
    font-family: var(--font-serif);
}

.typewriter-text {
    display: inline-block;
}

.typewriter-cursor {
    display: inline-block;
    color: var(--color-teal, #2A6F6D);
    font-weight: 400;
    animation: blink-caret 0.7s steps(1) infinite;
    margin-left: 2px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-teal), var(--color-sage));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-desc {
    font-size: 1.1rem;
    color: #475569;
    font-weight: 400;
    line-height: 1.75;
    max-width: 580px;
    margin-bottom: 2.25rem;
    font-family: var(--font-sans);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.25rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: var(--color-teal);
    color: var(--color-white);
    padding: 0.85rem 1.75rem;
    border-radius: 9999px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(42, 111, 109, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: var(--font-sans);
}

.btn-primary:hover {
    background-color: var(--color-indigo);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(31, 41, 55, 0.25);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 1.75rem;
    border-radius: 9999px;
    border: 2px solid #cbd5e1;
    color: var(--color-indigo);
    font-weight: 600;
    background: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: var(--font-sans);
}

.btn-secondary:hover {
    border-color: var(--color-teal);
    color: var(--color-teal);
    background-color: rgba(42, 111, 109, 0.05);
}

.hero-quick-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: flex-start;
    gap: 1.25rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    width: 100%;
}

.stat-item {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.stat-num {
    font-family: var(--font-serif);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--color-indigo);
    line-height: 1.1;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
    display: inline-block;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #8a99ad;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.45rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: var(--font-sans);
}

/* HERO VISUAL */
.hero-visual {
    position: relative;
    max-width: 440px;
    width: 100%;
    margin: 0 0 0 auto;
    justify-self: end;
    animation: hero-image-pop 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
    will-change: transform, opacity;
}

@keyframes hero-image-pop {
    0% {
        opacity: 0;
        transform: scale(0.6);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.image-wrapper {
    position: relative;
    max-width: 440px;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 6px solid var(--color-white);
    background-color: var(--color-white);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.image-wrapper:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 28px 55px -10px rgba(42, 111, 109, 0.28);
}

.doctor-portrait {
    width: 100%;
    height: auto;
    min-height: 420px;
    max-height: 520px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background-color: #f8fafc;
}

.floating-badge-card {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.85rem 1.25rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: transform 0.35s ease;
}

.image-wrapper:hover .floating-badge-card {
    transform: translateY(-2px);
}

.badge-icon-wrapper {
    width: 42px;
    height: 42px;
    background-color: var(--color-light-teal);
    color: var(--color-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-card-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-indigo);
    font-family: var(--font-sans);
    white-space: nowrap;
    margin: 0;
    line-height: 1.3;
}

.badge-card-desc {
    font-size: 0.75rem;
    color: #64748b;
    font-family: var(--font-sans);
}

@keyframes float-zoom {
    0% {
        transform: translateY(0) scale(1) rotate3d(0, 1, 0, 0deg);
    }

    33% {
        transform: translateY(-10px) scale(1.02) rotate3d(0, 1, 0, 6deg);
    }

    66% {
        transform: translateY(-18px) scale(1.03) rotate3d(0, 1, 0, -6deg);
    }

    100% {
        transform: translateY(0) scale(1) rotate3d(0, 1, 0, 0deg);
    }
}

/* Floating Card Badge */
.floating-badge-card {
    position: absolute;
    bottom: -1.5rem;
    right: -2rem;
    background-color: var(--color-white);
    padding: 1.25rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(212, 175, 55, 0.15);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    max-width: 280px;
    z-index: 3;
    animation: float-badge 6s ease-in-out infinite;
}

.badge-icon-wrapper {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--color-gold);
    padding: 0.6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-icon-wrapper svg {
    width: 24px;
    height: 24px;
}

.badge-card-info {
    display: flex;
    flex-direction: column;
}

.badge-card-title {
    font-weight: 750;
    color: var(--color-indigo);
    font-size: 1.0625rem;
    margin-bottom: 0.15rem;
}

.badge-card-desc {
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.35;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about-section {
    background-color: var(--color-white);
    position: relative;
    padding: 7.5rem 0;
    overflow: hidden;
}

.about-decor-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8rem;
    background: linear-gradient(to bottom, rgba(224, 242, 241, 0.3), transparent);
    pointer-events: none;
}

.about-container {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 5rem;
    align-items: flex-start;
}

.section-header {
    margin-bottom: 2.5rem;
}

.section-tag {
    color: var(--color-teal);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-indigo);
    margin-top: 0.5rem;
    margin-bottom: 1.25rem;
}

.title-bar {
    width: 80px;
    height: 6px;
    background-color: rgba(212, 175, 55, 0.6);
    border-radius: 50px;
}

.bio-paragraphs {
    color: #475569;
    font-size: 1.0625rem;
    line-height: 1.75;
}

.bio-paragraphs p {
    margin-bottom: 1.5rem;
}

.bio-lead {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: rgba(31, 41, 55, 0.85);
    line-height: 1.7;
    position: relative;
    padding-left: 0.5rem;
}

.quote-mark {
    font-family: var(--font-serif);
    font-size: 4.5rem;
    color: rgba(212, 175, 55, 0.15);
    position: absolute;
    top: -1.75rem;
    left: -1rem;
    line-height: 1;
    pointer-events: none;
}

.about-credentials {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.credential-avatars {
    display: flex;
}

.avatar-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-white);
    margin-right: -1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.bg-avatar-teal {
    background-color: var(--color-teal);
}

.bg-avatar-sage {
    background-color: var(--color-sage);
}

.bg-avatar-gold {
    background-color: var(--color-gold);
    margin-right: 0;
}

.credential-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    margin-left: 0.5rem;
}

/* Timeline Column */
.about-timeline {
    background-color: var(--color-bg);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(42, 111, 109, 0.05);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.timeline-heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    transform: translateX(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.about-timeline.timeline-animation-start .timeline-heading {
    opacity: 1;
    transform: translateX(0);
}

.heading-icon {
    width: 24px;
    height: 24px;
}

.text-gold {
    color: var(--color-gold);
}

.timeline-wrapper {
    position: relative;
    padding-left: 2rem;
    border-left: 1px solid rgba(42, 111, 109, 0.1);
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    left: -1px;
    top: var(--timeline-line-top, calc(0.25rem + 9px));
    width: 3px;
    height: var(--timeline-progress-height, 0);
    background-color: var(--color-teal);
    transform-origin: top;
    transition: height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 0;
}

.timeline-item {
    position: relative;
    margin-bottom: 2.25rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -2.625rem;
    top: 0.25rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 4px solid var(--color-white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transform: scale(0.6);
    opacity: 0.45;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-item.active .timeline-marker {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 0 12px rgba(42, 111, 109, 0.08), 0 16px 30px rgba(42, 111, 109, 0.12);
}

.timeline-item.line-grown::after {
    transform: scaleY(1);
}

.timeline-content-card>* {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-item.active .timeline-content-card>* {
    opacity: 1;
    transform: translateX(0);
}

.timeline-content-card>*:nth-child(1) {
    transition-delay: 0.08s;
}

.timeline-content-card>*:nth-child(2) {
    transition-delay: 0.16s;
}

.timeline-content-card>*:nth-child(3) {
    transition-delay: 0.24s;
}

.timeline-content-card>*:nth-child(4) {
    transition-delay: 0.32s;
}

.timeline-marker.bg-teal {
    background-color: var(--color-teal);
}

.timeline-marker.bg-sage {
    background-color: var(--color-sage);
}

.timeline-marker.bg-indigo {
    background-color: var(--color-indigo);
}

.timeline-content-card {
    display: flex;
    flex-direction: column;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0.25rem 0 !important;
    border: none !important;
    box-shadow: none !important;
    transition: transform 0.3s ease !important;
}

.timeline-content-card:hover {
    transform: translateX(4px) !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.timeline-meta-tag {
    font-size: 0.75rem;
    font-weight: 750;
    color: var(--color-teal);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
}

.timeline-card-title {
    font-size: 1.15rem;
    font-weight: 750;
    color: var(--color-indigo);
}

.timeline-card-loc {
    font-size: 0.9375rem;
    color: #475569;
    margin-top: 0.15rem;
}

.badge-award-mini {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.05));
    color: var(--color-gold);
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-top: 0.75rem;
    align-self: flex-start;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.timeline-content-card:hover .badge-award-mini {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.22), rgba(212, 175, 55, 0.1));
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.2);
}

.award-mini-icon {
    width: 13px;
    height: 13px;
}

.timeline-card-desc {
    font-size: 0.9375rem;
    color: #475569;
    margin-top: 0.35rem;
    font-weight: 300;
}

/* ==========================================================================
   EXPERTISE SECTION
   ========================================================================== */

.expertise-section {
    background-color: var(--color-white);
    padding: 7.5rem 0;
    border-top: 1px solid rgba(226, 232, 240, 0.5);
}

.text-center-wrapper {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem auto;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    margin-top: 1.25rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.35rem;
}

.container-wide {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.milestones-awards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
    width: 100%;
}

/* Premium Standalone Card Wrappers & Hover Effects */
.awards-card-wrapper,
.milestones-card-wrapper {
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.18);
    border-radius: 20px;
    padding: 2.25rem 2.5rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    will-change: transform, box-shadow;
}

.awards-card-wrapper:hover,
.milestones-card-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(42, 111, 109, 0.14), 0 0 25px rgba(212, 175, 55, 0.12);
    border-color: rgba(42, 111, 109, 0.38);
}

/* Individual Award Item Slide-From-Bottom Entry & Hover Effect */
.award-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: rgba(42, 111, 109, 0.03);
    border: 1.2px solid rgba(42, 111, 109, 0.14);
    border-radius: 14px;
    padding: 1.2rem 1.4rem;
    opacity: 0;
    transform: translateY(60px) scale(0.94);
    transition: opacity 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.35),
        transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.35),
        background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    cursor: default;
    will-change: opacity, transform, box-shadow;
}

/* Revealed state for slide from bottom */
.award-card.award-card-popped,
.awards-card-wrapper.revealed .award-card,
.awards-card-wrapper.active .award-card,
.about-timeline.revealed .award-card,
.about-timeline.active .award-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Sequential Stagger Delays for Award Items */
.awards-card-wrapper .award-card:nth-child(1) {
    transition-delay: 0.12s;
}

.awards-card-wrapper .award-card:nth-child(2) {
    transition-delay: 0.28s;
}

.awards-card-wrapper .award-card:nth-child(3) {
    transition-delay: 0.44s;
}

.awards-card-wrapper .award-card:nth-child(4) {
    transition-delay: 0.60s;
}

.award-card:hover {
    transform: translateY(-4px) translateX(8px) scale(1.02) !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(224, 242, 241, 0.55));
    border-color: var(--color-teal);
    box-shadow: 0 10px 28px rgba(42, 111, 109, 0.14), 0 0 18px rgba(212, 175, 55, 0.2);
}

.award-card .award-icon-box {
    font-size: 1.85rem;
    line-height: 1;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.35);
    display: inline-block;
}

.award-card:hover .award-icon-box {
    transform: scale(1.3) rotate(12deg);
}

/* ==========================================================================
   CARD INNER CONTENT POP-UP SPRING REVEAL ANIMATIONS
   ========================================================================== */
.card-title {
    opacity: 0;
    transform: translateY(18px) scale(0.88);
    transition: opacity 0.42s ease, transform 0.48s cubic-bezier(0.175, 0.885, 0.32, 1.35);
    will-change: opacity, transform;
}

.service-card-title {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.expertise-card.revealed .card-title,
.expertise-card.active .card-title,
.card-title.title-popped {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.service-chip {
    opacity: 0;
    transform: scale(0.38) translateY(24px);
    transition: opacity 0.38s cubic-bezier(0.175, 0.885, 0.32, 1.45),
        transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.45),
        background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    will-change: opacity, transform;
}

.service-chip.chip-popped,
.service-category-card.revealed .service-chip.chip-popped,
.service-category-card.active .service-chip.chip-popped,
.expertise-card.revealed .service-chip.chip-popped,
.expertise-card.active .service-chip.chip-popped {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Fallback CSS Stagger for Service Chips */
.service-category-card.revealed .service-chip:nth-child(1),
.service-category-card.active .service-chip:nth-child(1),
.expertise-card.revealed .service-chip:nth-child(1),
.expertise-card.active .service-chip:nth-child(1) {
    transition-delay: 0.08s;
}

.service-category-card.revealed .service-chip:nth-child(2),
.service-category-card.active .service-chip:nth-child(2),
.expertise-card.revealed .service-chip:nth-child(2),
.expertise-card.active .service-chip:nth-child(2) {
    transition-delay: 0.14s;
}

.service-category-card.revealed .service-chip:nth-child(3),
.service-category-card.active .service-chip:nth-child(3),
.expertise-card.revealed .service-chip:nth-child(3),
.expertise-card.active .service-chip:nth-child(3) {
    transition-delay: 0.20s;
}

.service-category-card.revealed .service-chip:nth-child(4),
.service-category-card.active .service-chip:nth-child(4),
.expertise-card.revealed .service-chip:nth-child(4),
.expertise-card.active .service-chip:nth-child(4) {
    transition-delay: 0.26s;
}

.service-category-card.revealed .service-chip:nth-child(5),
.service-category-card.active .service-chip:nth-child(5),
.expertise-card.revealed .service-chip:nth-child(5),
.expertise-card.active .service-chip:nth-child(5) {
    transition-delay: 0.32s;
}

.service-category-card.revealed .service-chip:nth-child(6),
.service-category-card.active .service-chip:nth-child(6),
.expertise-card.revealed .service-chip:nth-child(6),
.expertise-card.active .service-chip:nth-child(6) {
    transition-delay: 0.38s;
}

/* ==========================================================================
   PREMIUM TEAL GREEN HOVER TRANSFORMATION FOR EXPERTISE & SERVICE CARDS
   ========================================================================== */

.expertise-category-block,
.expertise-card {
    position: relative;
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.16);
    border-radius: 20px;
    padding: 2.25rem 2.5rem;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
    transition: transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        background 0.45s ease,
        border-color 0.45s ease,
        box-shadow 0.45s ease,
        color 0.45s ease;
    will-change: transform, background, box-shadow;
    overflow: hidden;
    z-index: 1;
}

/* Ensure inner contents sit cleanly above border tracer mask */
.expertise-category-block>*,
.expertise-card>* {
    position: relative;
    z-index: 3;
}

/* ==========================================================================
   BORDER LIGHT LINE TRACER (Strictly for Areas of Expertise Cards)
   ========================================================================== */

.expertise-category-block::before,
.expertise-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent 0deg,
            transparent 270deg,
            rgba(255, 255, 255, 0.95) 310deg,
            #D4AF37 335deg,
            #80E2DB 355deg,
            transparent 360deg);
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: borderLightTrace 3s linear infinite;
    pointer-events: none;
    z-index: 1;
}

/* Inner Background Mask to reveal 2px border beam */
.expertise-category-block::after,
.expertise-card::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: inherit;
    border-radius: 18px;
    z-index: 2;
    pointer-events: none;
    transition: background 0.45s ease;
}

/* Reveal Border Light Beam Tracer on Hover */
.expertise-category-block:hover::before,
.expertise-card:hover::before {
    opacity: 1;
}

@keyframes borderLightTrace {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Category header layouts */
.expertise-category-block .category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.expertise-category-block .category-header-icon,
.expertise-card .card-icon-container {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--color-light-teal);
    color: var(--color-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.38s ease, color 0.38s ease, transform 0.38s cubic-bezier(0.175, 0.885, 0.32, 1.35);
}

.expertise-category-block .category-title,
.expertise-card .card-title {
    color: var(--color-indigo);
    font-size: 1.4rem;
    font-weight: 750;
    margin: 0;
    transition: color 0.38s ease;
}

.expertise-bullets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.expertise-bullet-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    background: rgba(42, 111, 109, 0.04);
    border: 1px solid rgba(42, 111, 109, 0.1);
    color: #334155;
    font-weight: 550;
    font-size: 0.94rem;
    transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.expertise-bullet-item i,
.expertise-bullet-item svg {
    color: var(--color-teal);
    flex-shrink: 0;
    transition: color 0.35s ease, stroke 0.35s ease, transform 0.35s ease;
}

/* --------------------------------------------------------------------------
   HOVER STATE: AREAS OF EXPERTISE CARDS TURN TEAL GREEN WITH WHITE TEXT & GLOW
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   HOVER STATE: CLEAN LIGHT LUXURY CARD WITH BRAND TEAL ACCENTS
   -------------------------------------------------------------------------- */

.expertise-category-block:hover,
.expertise-card:hover {
    transform: translateY(-8px) scale(1.015);
    background: linear-gradient(180deg, #ffffff 0%, #f2faf9 100%) !important;
    border-color: var(--color-teal) !important;
    box-shadow: 0 20px 42px rgba(42, 111, 109, 0.15), 0 4px 16px rgba(15, 23, 42, 0.04) !important;
}

/* Header, titles & descriptions stay rich indigo & crisp slate on card hover */
.expertise-category-block:hover .category-title,
.expertise-category-block:hover h2,
.expertise-category-block:hover h3,
.expertise-category-block:hover h4,
.expertise-card:hover .card-title {
    color: var(--color-indigo) !important;
}

.expertise-category-block:hover p,
.expertise-card:hover .card-desc {
    color: #475569 !important;
}

/* Icon box transforms to solid teal badge with white icon on hover */
.expertise-category-block:hover .category-header-icon,
.expertise-card:hover .card-icon-container {
    background: var(--color-teal) !important;
    color: #ffffff !important;
    border-color: var(--color-teal) !important;
    transform: scale(1.12) rotate(4deg);
    box-shadow: 0 6px 18px rgba(42, 111, 109, 0.3) !important;
}

.expertise-category-block:hover .category-header-icon i,
.expertise-category-block:hover .category-header-icon svg,
.expertise-card:hover .card-icon-container i,
.expertise-card:hover .card-icon-container svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

/* Inner bullet procedure pills stay clean white on card hover */
.expertise-category-block:hover .expertise-bullet-item {
    background: #ffffff !important;
    border-color: rgba(42, 111, 109, 0.22) !important;
    color: var(--color-indigo) !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03) !important;
}

.expertise-category-block:hover .expertise-bullet-item i,
.expertise-category-block:hover .expertise-bullet-item svg {
    color: var(--color-teal) !important;
    stroke: var(--color-teal) !important;
}

/* Individual bullet item hover turns to solid brand teal pill */
.expertise-category-block:hover .expertise-bullet-item:hover,
.expertise-bullet-item:hover {
    background: var(--color-teal) !important;
    border-color: var(--color-teal) !important;
    color: #ffffff !important;
    transform: translateY(-2px) scale(1.04) !important;
    box-shadow: 0 6px 16px rgba(42, 111, 109, 0.28) !important;
}

.expertise-category-block:hover .expertise-bullet-item:hover i,
.expertise-category-block:hover .expertise-bullet-item:hover svg,
.expertise-bullet-item:hover i,
.expertise-bullet-item:hover svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

/* Service Category Cards Hover (Clean White Card with Teal Accents) */
.service-category-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-teal) !important;
    box-shadow: 0 16px 36px rgba(42, 111, 109, 0.12) !important;
}

.service-category-card:hover .service-card-title {
    color: var(--color-teal) !important;
}

.service-category-card:hover .service-chip {
    background: rgba(42, 111, 109, 0.07) !important;
    color: var(--color-teal) !important;
    border-color: rgba(42, 111, 109, 0.2) !important;
}

.service-category-card:hover .service-chip:hover {
    background: var(--color-teal) !important;
    color: #ffffff !important;
    border-color: var(--color-teal) !important;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 14px rgba(42, 111, 109, 0.28);
}

/* ==========================================================================
   FLOATING SIGNATURE PILL CARDS (Matching User Reference Image)
   ========================================================================== */

.signature-floating-pill {
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.14);
    border-radius: 50px;
    padding: 1.05rem 2.2rem;
    box-shadow: 0 12px 28px -4px rgba(42, 111, 109, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.35),
        box-shadow 0.4s ease,
        background 0.4s ease,
        border-color 0.4s ease,
        color 0.4s ease;
    cursor: pointer;
    will-change: transform, box-shadow;
}

.signature-floating-pill span {
    font-size: 1.08rem;
    font-weight: 650;
    color: var(--color-teal);
    letter-spacing: -0.01em;
    line-height: 1.3;
    transition: color 0.35s ease;
    white-space: nowrap;
}

/* Hover state for signature floating pills */
.signature-floating-pill:hover {
    transform: translateY(-8px) scale(1.05) !important;
    background: var(--color-teal) !important;
    border-color: var(--color-teal) !important;
    box-shadow: 0 20px 40px rgba(42, 111, 109, 0.28), 0 0 20px rgba(42, 111, 109, 0.18) !important;
}

.signature-floating-pill:hover span {
    color: #ffffff !important;
}

/* ==========================================================================
   RANDOM LEFT AND RIGHT SPRING SLIDE ANIMATION FOR SIGNATURE FLOATING PILLS
   ========================================================================== */

.signature-floating-pill {
    transition: transform 0.65s cubic-bezier(0.175, 0.885, 0.32, 1.35),
        opacity 0.65s cubic-bezier(0.175, 0.885, 0.32, 1.35),
        box-shadow 0.4s ease,
        background 0.4s ease,
        border-color 0.4s ease,
        color 0.4s ease;
    will-change: transform, opacity;
}

.signature-floating-pill.pill-slide-left:not(.pill-revealed) {
    opacity: 0;
    transform: translate3d(-240px, 20px, 0) rotate(-6deg) scale(0.8);
}

.signature-floating-pill.pill-slide-right:not(.pill-revealed) {
    opacity: 0;
    transform: translate3d(240px, 20px, 0) rotate(6deg) scale(0.8);
}

.signature-floating-pill.pill-slide-far-left:not(.pill-revealed) {
    opacity: 0;
    transform: translate3d(-320px, -15px, 0) rotate(-9deg) scale(0.75);
}

.signature-floating-pill.pill-slide-far-right:not(.pill-revealed) {
    opacity: 0;
    transform: translate3d(320px, -15px, 0) rotate(9deg) scale(0.75);
}

.signature-floating-pill.pill-revealed {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1) !important;
}

.signature-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

@media (max-width: 1024px) {
    .signature-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .signature-treatment-card[style*="grid-column: span 2"] {
        grid-column: span 1 !important;
    }
}

@media (max-width: 640px) {
    .signature-cards-grid {
        grid-template-columns: 1fr;
    }
}

.signature-treatment-card {
    position: relative;
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.15);
    border-radius: 20px;
    padding: 2.25rem 2rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    transition: transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        box-shadow 0.45s ease,
        border-color 0.45s ease,
        background 0.45s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    will-change: transform, box-shadow;
}

/* Gradient accent bar on top of each luxury card */
.signature-card-top-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-teal), var(--color-gold), var(--color-sage));
    opacity: 0.8;
    transition: height 0.35s ease, opacity 0.35s ease;
}

.signature-treatment-card:hover .signature-card-top-accent {
    height: 6px;
    opacity: 1;
}

.signature-card-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(42, 111, 109, 0.1), rgba(212, 175, 55, 0.12));
    border: 1px solid rgba(42, 111, 109, 0.18);
    color: var(--color-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.35), background 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}

.signature-card-icon-box i,
.signature-card-icon-box svg {
    width: 26px;
    height: 26px;
}

.signature-card-badge {
    font-size: 0.75rem;
    font-weight: 750;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-gold);
    background: rgba(212, 175, 55, 0.09);
    border: 1px solid rgba(212, 175, 55, 0.22);
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.85rem;
    display: inline-block;
}

.signature-card-title {
    font-size: 1.25rem;
    font-weight: 750;
    color: var(--color-indigo);
    margin-bottom: 0.65rem;
    line-height: 1.3;
    transition: color 0.35s ease;
}

.signature-card-desc {
    font-size: 0.94rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
    transition: color 0.35s ease;
}

/* Hover effect for Signature Treatment Cards */
.signature-treatment-card:hover {
    transform: translateY(-8px) scale(1.015);
    border-color: var(--color-teal);
    box-shadow: 0 20px 42px rgba(42, 111, 109, 0.15), 0 0 20px rgba(212, 175, 55, 0.15);
    background: linear-gradient(180deg, #ffffff 0%, #f4fbfb 100%);
}

.signature-treatment-card:hover .signature-card-icon-box {
    transform: scale(1.18) rotate(8deg);
    background: var(--color-teal);
    color: #ffffff;
    border-color: var(--color-teal);
}

.signature-treatment-card:hover .signature-card-title {
    color: var(--color-teal);
}

.signature-treatment-card:hover .signature-card-desc {
    color: #334155;
}

@media (max-width: 900px) {
    .milestones-awards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.treatment-pill-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 0.5rem;
}

.treatment-pill {
    background: var(--color-white);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(22, 108, 91, 0.08);
    font-weight: 500;
    color: var(--color-teal);
    border: 1px solid rgba(255, 255, 255, 0.75);
    transition: all 0.2s ease;
    min-width: 240px;
    max-width: 420px;
    flex: 1 1 240px;
    text-align: center;
}

.treatment-pill:hover {
    background-color: var(--color-teal);
    color: var(--color-white);
    transform: scale(1.05);
}

.treatment-pill:hover {
    transform: translateY(-2px);
    border-color: rgba(42, 111, 109, 0.28);
    box-shadow: 0 18px 40px rgba(42, 111, 109, 0.08);
}

.expertise-card {
    background-color: var(--color-bg);
    border: 1.5px solid rgba(42, 111, 109, 0.18);
    padding: 1.5rem 1.35rem;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    will-change: opacity, transform;
}

.expertise-card:hover {
    border-color: var(--color-teal);
    box-shadow: 0 12px 28px rgba(42, 111, 109, 0.14);
}

.expertise-card.fade-in-left {
    transform: translateX(-70px) translateY(20px);
}

.expertise-card.fade-in-right {
    transform: translateX(70px) translateY(20px);
}

.expertise-card.fade-in-top {
    transform: translateY(-60px);
}

.expertise-card.fade-in-bottom {
    transform: translateY(60px);
}

.expertise-card.revealed {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

.expertise-card>* {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.expertise-card.revealed>* {
    opacity: 1;
    transform: translateY(0);
}

.expertise-card>*:nth-child(1) {
    transition-delay: 0.1s;
}

.expertise-card>*:nth-child(2) {
    transition-delay: 0.18s;
}

.expertise-card>*:nth-child(3) {
    transition-delay: 0.26s;
}

.expertise-card>*:nth-child(4) {
    transition-delay: 0.34s;
}

.card-icon-container {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background-color: var(--color-light-teal);
    color: var(--color-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    transition: var(--transition-smooth);
}

.card-icon-container svg {
    width: 22px;
    height: 22px;
}

.card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-indigo);
    margin-bottom: 0.4rem;
    line-height: 1.35;
}

.card-desc {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-underline {
    width: 32px;
    height: 4px;
    background-color: rgba(42, 111, 109, 0.2);
    border-radius: 50px;
    margin-top: auto;
    transition: var(--transition-slow);
}

/* Card Hover Animations */
.expertise-card:hover {
    transform: translateY(-6px);
    border-color: rgba(42, 111, 109, 0.15);
    box-shadow: var(--shadow-xl);
}

.expertise-card:hover .card-icon-container {
    background-color: var(--color-teal);
    color: var(--color-white);
}

.expertise-card:hover .card-underline {
    width: 100%;
    background-color: var(--color-teal);
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */

.stats-section {
    position: relative;
    background-color: var(--color-indigo);
    color: var(--color-white);
    padding: 6.5rem 0;
    overflow: hidden;
}

.stats-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.stats-pattern-overlay {
    position: absolute;
    inset: 0;
    background-image: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.08;
    mix-blend-mode: overlay;
}

.stats-blob-teal {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 380px;
    height: 380px;
    background-color: var(--color-teal);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
}

.stats-blob-gold {
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 380px;
    height: 380px;
    background-color: var(--color-gold);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.08;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.stat-card {
    position: relative;
    background-color: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem;
    border-radius: 1.25rem;
    text-align: center;
    overflow: hidden;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        background-color 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.45s ease !important;
    will-change: transform, box-shadow;
}

/* Specular Shimmer Sweep Effect */
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(115deg,
            transparent 0%,
            rgba(255, 255, 255, 0.03) 30%,
            rgba(255, 255, 255, 0.22) 50%,
            rgba(255, 255, 255, 0.03) 70%,
            transparent 100%);
    transform: skewX(-25deg);
    transition: left 0.75s ease;
    pointer-events: none;
    z-index: 2;
}

.stat-card:hover::before {
    left: 150%;
}

.stat-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(42, 111, 109, 0.18));
    border-color: rgba(165, 200, 202, 0.6) !important;
    transform: translateY(-12px) scale(1.04) !important;
    box-shadow: 0 22px 50px -10px rgba(42, 111, 109, 0.45),
        0 0 30px rgba(212, 175, 55, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.4) !important;
}

.stat-number {
    font-family: var(--font-mono);
    font-size: 2.75rem;
    font-weight: 750;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.4s ease;
}

.stat-card:hover .stat-number {
    transform: scale(1.08);
    background: linear-gradient(135deg, #ffffff 30%, #a5c8ca 70%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-meta-label {
    color: var(--color-sage);
    font-size: 1.05rem;
    font-weight: 500;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    margin-top: 0.5rem;
    transition: color 0.4s ease, border-color 0.4s ease;
}

.stat-card:hover .stat-meta-label {
    color: #ffffff;
    border-color: rgba(165, 200, 202, 0.4);
}

.stat-meta-sub {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 0.5rem;
    transition: color 0.4s ease;
}

.stat-card:hover .stat-meta-sub {
    color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   ACADEMIC / ACHIEVEMENTS
   ========================================================================== */

.achievements-section {
    background-color: #f7fafc;
    padding: 7.5rem 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.academic-layout {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 3rem;
    align-items: center;
}

.book-card {
    background-color: var(--color-white);
    padding: 3rem;
    border-radius: 24px;
    border: 2px solid rgba(42, 111, 109, 0.12);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-slow);
}

.book-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.book-card-watermark {
    position: absolute;
    top: 1.5rem;
    right: -1rem;
    opacity: 0.04;
    pointer-events: none;
    transition: var(--transition-slow);
}

.book-card-watermark svg {
    width: 180px;
    height: 180px;
}

.book-card:hover .book-card-watermark {
    opacity: 0.08;
}

.book-card-content {
    position: relative;
    z-index: 2;
}

.badge-featured-book {
    background-color: var(--color-gold);
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 6px rgba(212, 175, 55, 0.2);
    margin-bottom: 2rem;
}

.featured-book-icon {
    width: 14px;
    height: 14px;
}

.book-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-indigo);
    margin-bottom: 1.25rem;
}

.book-desc {
    font-size: 1.05rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.book-footer {
    margin-top: auto;
    border-top: 1px solid #f3f4f6;
    padding-top: 2rem;
    width: 100%;
}

.book-learn-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-teal);
}

.book-learn-more-btn:hover {
    color: var(--color-indigo);
}

.book-learn-more-btn .arrow-icon {
    width: 18px;
    height: 18px;
    transition: var(--transition-smooth);
}

.book-learn-more-btn:hover .arrow-icon {
    transform: translateX(4px);
}

/* Publications Grid Stack */
.publications-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
}

.publication-item-card {
    background-color: var(--color-white);
    padding: 1.75rem;
    border-radius: 1rem;
    border: 2px solid rgba(42, 111, 109, 0.08);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    display: flex;
    gap: 1.5rem;
    align-items: center;
    transition: var(--transition-smooth);
}

.publication-item-card:hover {
    border-color: rgba(42, 111, 109, 0.08);
    box-shadow: var(--shadow-card);
}

.pub-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-teal);
}

.pub-icon-box svg {
    width: 26px;
    height: 26px;
}

.bg-pub-teal {
    background-color: var(--color-light-teal);
}

.bg-pub-sage {
    background-color: rgba(165, 200, 202, 0.18);
}

.bg-pub-gold {
    background-color: rgba(212, 175, 55, 0.08);
    color: var(--color-gold);
}

.pub-text-box {
    display: flex;
    flex-direction: column;
}

.pub-card-title {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 750;
    color: var(--color-indigo);
    margin-bottom: 0.15rem;
}

.pub-card-desc {
    font-size: 0.9375rem;
    color: #6b7280;
    font-weight: 300;
}

/* ==========================================================================
   PHILOSOPHY SECTION
   ========================================================================== */

.philosophy-section {
    position: relative;
    background-color: var(--color-indigo);
    color: var(--color-white);
    text-align: center;
    padding: 6rem 1.5rem;
    overflow: hidden;
}

.philosophy-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top, rgba(42, 111, 109, 0.4), var(--color-indigo), #0f172a);
    opacity: 0.85;
    pointer-events: none;
}

.philosophy-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1040px;
    margin: 0 auto;
    padding: 3.5rem 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.philosophy-quote-icon {
    width: 48px;
    height: 48px;
    color: var(--color-gold);
    opacity: 0.9;
    margin-bottom: 1.75rem;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.3));
}

.philosophy-text {
    font-size: 2rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    line-height: 1.5;
    margin-bottom: 3rem;
    max-width: 900px;
    color: #F8FAFC;
    text-shadow: 0 2px 20px rgba(15, 23, 42, 0.25);
}

.philosophy-text .italic {
    font-style: italic;
    color: #E0F2F7;
    font-weight: 400;
}

.philosophy-text .text-sage {
    color: #D4F1EF;
}

.philosophy-metrics {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 2.25rem;
    width: 100%;
    max-width: 750px;
    flex-wrap: wrap;
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-num {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 600;
    -webkit-font-smoothing: antialiased;
    color: var(--color-gold);
}

.metric-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 0.25rem;
}

.metric-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   MEDIA SECTION
   ========================================================================== */

.media-section {
    background-color: var(--color-white);
    padding: 7.5rem 0;
}

.media-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.header-left {
    display: flex;
    flex-direction: column;
}

.youtube-channel-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-teal);
    border-bottom: 2px solid rgba(42, 111, 109, 0.15);
    padding-bottom: 0.25rem;
}

.youtube-channel-link:hover {
    color: var(--color-indigo);
    border-color: var(--color-teal);
}

.link-icon {
    width: 16px;
    height: 16px;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.video-card {
    display: block;
}

.video-thumbnail-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background-color: #f1f5f9;
    box-shadow: var(--shadow-soft);
    margin-bottom: 1.25rem;
    transition: var(--transition-slow);
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(31, 41, 55, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(1px);
    transition: var(--transition-smooth);
}

.play-button-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--color-white);
    color: var(--color-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: var(--transition-bounce);
    padding-left: 3px;
}

.play-button-circle svg {
    width: 22px;
    height: 22px;
}

.video-card:hover .video-thumbnail {
    transform: scale(1.05);
}

.video-card:hover .video-overlay {
    background-color: rgba(31, 41, 55, 0.15);
    backdrop-filter: blur(0px);
}

.video-card:hover .play-button-circle {
    transform: scale(1.12);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.video-title {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 750;
    color: var(--color-indigo);
    line-height: 1.35;
    transition: var(--transition-smooth);
}

.video-card:hover .video-title {
    color: var(--color-teal);
}

.video-desc {
    font-size: 0.9375rem;
    color: #6b7280;
    margin-top: 0.35rem;
    font-weight: 300;
}

/* LinkedIn Connection Card */
.linkedin-connection-card {
    background-color: rgba(224, 242, 241, 0.25);
    border: 1px solid rgba(42, 111, 109, 0.08);
    padding: 2.5rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.linkedin-connection-card:hover {
    background-color: rgba(224, 242, 241, 0.45);
}

.linkedin-logo-box {
    background-color: var(--color-white);
    color: #0077b5;
    padding: 0.85rem;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.linkedin-logo-box svg {
    width: 28px;
    height: 28px;
}

.linkedin-card-title {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 750;
    color: var(--color-indigo);
    margin-bottom: 0.75rem;
}

.linkedin-card-desc {
    font-size: 0.9375rem;
    color: #4b5563;
    line-height: 1.5;
    margin-bottom: 1.75rem;
    font-weight: 300;
}

.linkedin-btn {
    display: block;
    width: 100%;
    background-color: #0077b5;
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.25);
    transition: var(--transition-smooth);
}

.linkedin-btn:hover {
    background-color: #006097;
    box-shadow: 0 8px 20px rgba(0, 119, 181, 0.35);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact-section {
    background-color: var(--color-bg);
    padding: 7.5rem 0;
}

/* ==========================================================================
   SPACIOUS & UNCONGESTED HOSPITAL LOCATIONS & APPOINTMENT BOOKING
   ========================================================================== */

.contact-section {
    background-color: var(--color-bg, #f8fafc);
    padding: 6.5rem 0;
}

/* 3-Column Luxury Hospital Locations Grid */
.locations-free-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 4.5rem;
}

@property --beam-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.location-card-free {
    position: relative;
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.16);
    border-radius: 20px;
    padding: 2.25rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease;
    z-index: 1;
}

.location-card-free:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(50, 104, 86, 0.18);
    border-color: rgba(16, 185, 129, 0.35);
}

/* Circulating Outer Green Border Line (Circulates strictly around the outer border) */
.location-card-free::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 24px;
    padding: 4px;
    background: conic-gradient(from var(--beam-angle),
            transparent 0deg,
            transparent 210deg,
            rgba(112, 233, 192, 0.342) 260deg,
            rgba(112, 233, 192, 0.342) 260deg,
            #297774 330deg,
            #297774 348deg,
            #427053 358deg,
            transparent 360deg);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.35s ease;
    animation: rotateBorderBeam 2.5s linear infinite;
    pointer-events: none;
    filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.6));
}

.location-card-free:hover::before {
    opacity: 1;
}

@keyframes rotateBorderBeam {
    0% {
        --beam-angle: 0deg;
    }

    100% {
        --beam-angle: 360deg;
    }
}

.loc-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.loc-badge-tag {
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    background: rgba(42, 111, 109, 0.08);
    color: #2a6f6d;
    border: 1px solid rgba(42, 111, 109, 0.18);
}

.loc-badge-tag.main-branch {
    background: rgba(212, 175, 55, 0.14);
    color: #92400e;
    border-color: rgba(212, 175, 55, 0.35);
}

.loc-icon-bubble {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(42, 111, 109, 0.1), rgba(42, 111, 109, 0.03));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2a6f6d;
}

.loc-free-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.loc-free-address {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 1.25rem;
    min-height: 4.2rem;
}

.loc-free-meta {
    padding-top: 1.1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.35rem;
}

.loc-meta-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: #374151;
}

.loc-meta-row a {
    color: #1f2937;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.loc-meta-row a:hover {
    color: #2a6f6d;
}

.loc-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-top: 0.5rem;
}

.loc-map-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    padding: 0.75rem 0.65rem;
    border-radius: 12px;
    font-size: 0.84rem;
    font-weight: 700;
    background: #f8fafc;
    color: #1e293b;
    border: 1.5px solid #cbd5e1;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    box-sizing: border-box;
}

.loc-map-btn:hover {
    background: #2a6f6d;
    color: #ffffff;
    border-color: #2a6f6d;
    box-shadow: 0 6px 16px rgba(42, 111, 109, 0.25);
    transform: translateY(-2px);
}

.loc-select-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    padding: 0.75rem 0.65rem;
    border-radius: 12px;
    font-size: 0.84rem;
    font-weight: 700;
    background: rgba(42, 111, 109, 0.1);
    color: #2a6f6d;
    border: 1.5px solid rgba(42, 111, 109, 0.25);
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    box-sizing: border-box;
}

.loc-select-btn:hover {
    background: #2a6f6d;
    color: #ffffff;
    border-color: #2a6f6d;
    box-shadow: 0 6px 18px rgba(42, 111, 109, 0.25);
    transform: translateY(-2px);
}

/* Split Consultation Lounge (About Clinic Left + Book Appointment Right) */
.booking-spacious-wrapper,
.booking-split-container {
    max-width: 1200px;
    margin: 0 auto 4.5rem auto;
}

.booking-split-grid {
    display: grid;
    grid-template-columns: 1fr 1.12fr;
    gap: 2rem;
    align-items: stretch;
}

@media (max-width: 992px) {
    .booking-split-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Left Card: About Clinic */
.clinic-about-card {
    position: relative;
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.2);
    border-radius: 28px;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.clinic-card-header {
    margin-bottom: 1.25rem;
}

.clinic-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    background: rgba(42, 111, 109, 0.1);
    color: #2a6f6d;
    border: 1px solid rgba(42, 111, 109, 0.2);
    margin-bottom: 0.75rem;
}

.clinic-card-title {
    font-family: var(--font-serif);
    font-size: 1.85rem;
    font-weight: 750;
    color: #1e293b;
    line-height: 1.25;
    margin: 0 0 0.5rem 0;
}

.clinic-card-tagline {
    font-size: 0.95rem;
    font-weight: 650;
    color: #2a6f6d;
    font-style: italic;
    margin: 0 0 1rem 0;
}

.clinic-about-desc {
    font-size: 0.94rem;
    line-height: 1.65;
    color: #475569;
    margin-bottom: 1.5rem;
}

.clinic-features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.clinic-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.clinic-feature-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(42, 111, 109, 0.1);
    color: #2a6f6d;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.clinic-feature-item h4 {
    margin: 0 0 0.2rem 0;
    font-size: 0.95rem;
    font-weight: 750;
    color: #1e293b;
}

.clinic-feature-item p {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.45;
    color: #64748b;
}

.clinic-direct-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 600px) {
    .clinic-direct-contact {
        grid-template-columns: 1fr;
    }
}

.clinic-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f8fafc;
    border: 1px solid rgba(42, 111, 109, 0.15);
    border-radius: 12px;
    padding: 0.75rem 1rem;
}

.clinic-contact-item i {
    width: 20px;
    height: 20px;
    color: #2a6f6d;
    flex-shrink: 0;
}

.clinic-contact-item .contact-sub {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
}

.clinic-contact-item .contact-val {
    display: block;
    font-size: 0.85rem;
    font-weight: 750;
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.clinic-contact-item .contact-val:hover {
    color: #2a6f6d;
}

/* Right Card: Book Appointment */
.booking-spacious-card {
    position: relative;
    background: linear-gradient(145deg, #1b4f4d 0%, #266b69 45%, #184342 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    padding: 2.75rem 2.5rem;
    box-shadow: 0 25px 60px -15px rgba(27, 79, 77, 0.45);
    color: #ffffff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.booking-card-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.booking-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.95rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 0.85rem;
}

.booking-spacious-title {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 750;
    color: #ffffff !important;
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

.booking-spacious-subtitle {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 580px;
    margin: 0 auto 1.25rem auto;
    line-height: 1.55;
}

.booking-helpline-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.88rem;
    color: #ffffff;
}

.booking-helpline-pill strong {
    color: #fde047;
}

.booking-form-spacious {
    display: grid;
    gap: 1.15rem;
}

.booking-field-group {
    display: flex;
    flex-direction: column;
}

.booking-field-group label {
    font-size: 0.84rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.booking-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
    width: 100%;
}

.input-icon-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.input-icon {
    position: absolute;
    left: 1rem;
    width: 17px;
    height: 17px;
    color: rgba(255, 255, 255, 0.7);
    pointer-events: none;
    z-index: 2;
}

.theme-form-input {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.22) !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.24) !important;
    border-radius: 12px !important;
    padding: 0.75rem 1rem 0.75rem 2.65rem !important;
    font-size: 0.92rem !important;
    font-weight: 500 !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: all 0.25s ease !important;
}

.theme-form-input::placeholder {
    color: rgba(255, 255, 255, 0.55) !important;
}

.theme-form-input:focus {
    background-color: rgba(0, 0, 0, 0.32) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.16) !important;
}

select.theme-form-input option {
    background-color: #1e5856;
    color: #ffffff;
}

.schedule-note-message {
    grid-column: 1 / -1;
    margin: 0.35rem 0 0.15rem 0;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.25);
    color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    line-height: 1.45;
}

.theme-submit-btn {
    width: 100%;
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #12212d, #09131a) !important;
    color: #ffffff !important;
    font-weight: 750 !important;
    font-size: 1rem !important;
    padding: 0.95rem 1.5rem !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35) !important;
    transition: all 0.3s ease !important;
    margin-top: 0.5rem;
}

.theme-submit-btn:hover {
    background: linear-gradient(135deg, #09131a, #000000) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45) !important;
}

@media (max-width: 992px) {
    .locations-free-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .booking-spacious-card {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 640px) {
    .booking-row-2col {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .booking-spacious-card {
        padding: 2rem 1.25rem;
    }

    .booking-spacious-title {
        font-size: 1.75rem;
    }
}

.booking-desc {
    color: var(--color-sage);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    line-height: 1.5;
    font-weight: 300;
}

.booking-action-stack {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.booking-action-link {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
}

.booking-action-link:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.08);
}

.action-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--color-white);
    color: var(--color-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    transition: var(--transition-bounce);
}

.action-icon-circle svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

.booking-action-link:hover .action-icon-circle {
    transform: scale(1.1);
}

.action-text-box {
    display: flex;
    flex-direction: column;
}

.action-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-sage);
    margin-bottom: 0.15rem;
}

.action-value {
    font-size: 1.5rem;
    font-weight: 750;
    color: var(--color-white);
}

.email-value {
    font-size: 1.25rem;
    font-weight: 500;
    word-break: break-all;
}

.booking-emergency-note {
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.emergency-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-gold);
    flex-shrink: 0;
    margin-top: 0.5rem;
    animation: pulse-dot 2s infinite;
}

.emergency-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.45;
}

/* Contact Quick Cards styles */
.contact-header-section {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-quick-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.contact-quick-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 2rem;
    background: var(--color-white);
    border-radius: 1.25rem;
    border: 1px solid rgba(42, 111, 109, 0.08);
    box-shadow: var(--shadow-soft);
    text-decoration: none;
    color: inherit;
    transition: var(--transition-bounce);
    min-width: 280px;
    width: 100%;
    max-width: 450px;
    text-align: left;
}

.contact-quick-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(42, 111, 109, 0.15);
    border-color: rgba(42, 111, 109, 0.2);
}

.quick-icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(42, 111, 109, 0.06);
    color: var(--color-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-bounce);
}

.contact-quick-card:hover .quick-icon-circle {
    transform: scale(1.1);
    background-color: var(--color-teal);
    color: var(--color-white);
}

.contact-quick-card>div:not(.quick-icon-circle) {
    min-width: 100px;
    flex: 1;
}

.quick-card-tag {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #8a99ad;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.quick-card-val {
    font-size: 1.1rem;
    font-weight: 750;
    color: var(--color-indigo);
    transition: var(--transition-smooth);
    word-break: break-all;
    overflow-wrap: anywhere;
}

.contact-quick-card:hover .quick-card-val {
    color: var(--color-teal);
}

/* Premium Form Controls inside Booking Card */
.booking-card form {
    margin-top: 1.5rem;
}

.booking-card .form-label {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-sage);
    display: block;
    margin-bottom: 0.4rem;
}

.booking-card .form-input {
    width: 100%;
    padding: 0.85rem 1.15rem;
    background-color: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    transition: var(--transition-smooth);
}

.booking-card .form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.booking-card .form-input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.12);
    border-color: var(--color-white);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

/* Fix dropdown arrow/icon color in select options */
.booking-card select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='rgba(255, 255, 255, 0.6)' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.15rem center;
    background-size: 1.15rem;
    padding-right: 2.75rem;
}

.booking-card select.form-input option {
    background-color: var(--color-teal);
    color: var(--color-white);
}

.booking-card textarea.form-input {
    resize: vertical;
    min-height: 110px;
}

.booking-card .appointment-status {
    padding: 0.85rem 1.15rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.booking-card .form-feedback-error {
    background-color: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.booking-card .form-feedback-success {
    background-color: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */

.footer-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(224, 242, 241, 0.9));
    color: var(--color-text, #334155);
    padding: 5rem 0 2.5rem 0;
    border-top: 1px solid rgba(42, 111, 109, 0.16);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(42, 111, 109, 0.08), transparent 45%);
    pointer-events: none;
}

.footer-upper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid rgba(42, 111, 109, 0.14);
    padding-bottom: 3rem;
    margin-bottom: 2rem;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-teal);
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: initial;
}

.footer-brand-subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #64748b;
    margin-top: 0.25rem;
}

.footer-nav {
    display: flex;
    gap: 1.2rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    flex-wrap: wrap;
    flex: 0 0 auto;
}

.footer-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    /* or 0.5rem */
    flex-wrap: nowrap;
}

.footer-logo {
    display: flex;
    align-items: center;
    padding-left: 0.75rem;
    /* or 0 */
    margin-left: 0;
    border-left: none;
    /* remove if you don't want the separator */
}

.footer-logo img {
    width: 90px;
    height: auto;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.35s ease;
}

.footer-logo img:hover {
    opacity: 1;
    transform: scale(1.06);
}

.footer-link {
    color: #475569;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-teal, #2a6f6d);
    border-radius: 2px;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-link:hover {
    color: var(--color-teal, #2a6f6d);
    transform: translateY(-2px);
}

.footer-link:hover::after {
    width: 100%;
}

.footer-brand-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-teal);
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: initial;
    transition: text-shadow 0.35s ease, transform 0.35s ease;
    display: inline-block;
}

.footer-brand:hover .footer-brand-title {
    text-shadow: 0 0 18px rgba(42, 111, 109, 0.4);
    transform: translateY(-1px);
}

.footer-brand-subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #64748b;
    margin-top: 0.25rem;
    transition: color 0.3s ease;
}

.footer-brand:hover .footer-brand-subtitle {
    color: var(--color-teal, #2a6f6d);
}

.footer-lower {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #64748b;
    flex-wrap: wrap;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.footer-copy {
    white-space: nowrap;
    color: #475569;
    flex: 1 1 280px;
    min-width: 220px;
}

.footer-disclaimer {
    max-width: 500px;
    line-height: 1.5;
    text-align: right;
    color: #64748b;
    flex: 1 1 280px;
    min-width: 240px;
}

/* ==========================================================================
   ANIMATIONS & EFFECTS
   ========================================================================== */

/* Reveal animations for scroll triggers */
.scroll-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.fade-in-left {
    transform: translateX(-36px) translateY(18px);
}

.scroll-reveal.fade-in-right {
    transform: translateX(36px) translateY(18px);
}

.scroll-reveal.fade-in-bottom {
    transform: translateY(32px);
}

/* Philosophy word-by-word slide from bottom animation */
.philosophy-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.philosophy-word.revealed {
    opacity: 1;
    transform: translateY(0);
}

.publication-item-card>* {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.publication-item-card.revealed>* {
    opacity: 1;
    transform: translateY(0);
}

.publication-item-card>*:nth-child(1) {
    transition-delay: 0.42s;
}

.publication-item-card>*:nth-child(2) {
    transition-delay: 0.54s;
}

.book-card-content {
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0.42s;
}

.book-card.revealed .book-card-content {
    opacity: 1;
    transform: translateX(0);
}

.hero-visual.scroll-reveal.revealed {
    opacity: 1;
    animation: hero-image-entrance 0.85s ease-out both;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.typewriter-text {
    display: inline-block;
    white-space: pre-wrap;
    overflow: hidden;
    min-width: 1ch;
}

.typewriter-text::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 1.1em;
    margin-left: 0.3ch;
    background-color: currentColor;
    animation: blink-caret 1s steps(1) infinite;
}

.typewriter-text.typing-done::after {
    display: none;
}

.hero-buttons,
.hero-quick-stats {
    opacity: 1;
    transform: translateY(0);
}

@keyframes blink-caret {
    50% {
        opacity: 0;
    }
}

@keyframes hero-image-entrance {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.96) rotate(-3deg);
    }

    55% {
        transform: translateY(-10px) scale(1.02) rotate(1deg);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
    }
}

/* Entry Delay classes */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

/* Custom keyframes */
@keyframes pulse-dot {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(42, 111, 109, 0.4);
    }

    50% {
        transform: scale(1.12);
        opacity: 0.8;
        box-shadow: 0 0 0 8px rgba(42, 111, 109, 0);
    }
}

@keyframes float-badge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.animate-pulse-slow {
    animation: pulse-slow 3s ease-in-out infinite;
}

@keyframes pulse-slow {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.95;
        transform: scale(0.99);
    }
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
        padding-top: 2rem;
    }

    .hero-content {
        align-items: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-quick-stats {
        justify-content: center;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }

    .academic-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .media-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4.5rem;
    }

    .booking-panel-container {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .navbar {
        padding: 1rem 0;
    }

    .desktop-menu {
        display: none !important;
    }

    .nav-menu {
        display: none;
    }

    .nav-logo {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-section {
        padding-top: 7.5rem;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .floating-badge-card {
        right: -0.5rem;
        bottom: -1rem;
        padding: 1rem;
        max-width: 250px;
    }

    .section-title {
        font-size: 2.15rem;
    }

    .about-timeline {
        padding: 2rem;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .philosophy-text {
        font-size: 1.75rem;
    }

    .philosophy-metrics {
        gap: 1.5rem;
    }

    .metric-divider {
        display: none;
    }

    .metric-item {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .media-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .media-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .location-item-card {
        padding: 1.5rem;
        gap: 1rem;
    }

    .booking-card {
        padding: 2.5rem;
        border-radius: 24px;
    }

    .action-value {
        font-size: 1.25rem;
    }

    .email-value {
        font-size: 1.1rem;
    }

    .footer-upper {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .footer-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .footer-nav {
        flex-direction: column;
        gap: 1.25rem;
    }

    .footer-logo {
        justify-content: flex-start;
    }

    .footer-lower {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .footer-disclaimer {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .hero-quick-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .floating-badge-card {
        position: relative;
        right: 0;
        bottom: 0;
        margin-top: 1.5rem;
        margin-left: auto;
        margin-right: auto;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-card {
        padding: 1.5rem;
    }
}

/* ==========================================================================
   HIGH MOTION RANDOM EXPERTISE CARD SLIDE ANIMATIONS
   ========================================================================== */
.expertise-card {
    transition: transform 0.85s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.75s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
    will-change: transform, opacity;
}

.expertise-card.motion-variant-1 {
    transform: translate3d(-180px, 90px, 0) scale(0.65) rotate(-12deg);
    opacity: 0;
}

.expertise-card.motion-variant-2 {
    transform: translate3d(180px, -100px, 0) scale(0.7) rotate(14deg);
    opacity: 0;
}

.expertise-card.motion-variant-3 {
    transform: translate3d(0, 160px, 0) scale(0.55) rotate(-8deg);
    opacity: 0;
}

.expertise-card.motion-variant-4 {
    transform: translate3d(-140px, -130px, 0) scale(1.2) rotate(10deg);
    opacity: 0;
}

.expertise-card.motion-variant-5 {
    transform: translate3d(200px, 120px, 0) scale(0.6) rotate(-15deg);
    opacity: 0;
}

.expertise-card.motion-variant-6 {
    transform: translate3d(-200px, 0, 0) scale(0.7) rotate(16deg);
    opacity: 0;
}

.expertise-card.revealed {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg) !important;
    opacity: 1 !important;
}

.expertise-card.revealed:hover {
    transform: translate3d(0, -8px, 0) scale(1.04) rotate(1deg) !important;
    border-color: var(--color-teal) !important;
    box-shadow: 0 16px 36px rgba(42, 111, 109, 0.2) !important;
}

/* ==========================================================================
   VIBRANT SOCIAL MEDIA ICONS
   ========================================================================== */
.social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    font-size: 1.25rem;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(0, 0, 0, 0.08);
    cursor: pointer;
    text-decoration: none;
}

.social-icon-btn.instagram {
    color: #e1306c;
}

.social-icon-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #ffffff;
    transform: translateY(-5px) scale(1.15) rotate(5deg);
    box-shadow: 0 10px 24px rgba(225, 48, 108, 0.4);
}

.social-icon-btn.facebook {
    color: #1877f2;
}

.social-icon-btn.facebook:hover {
    background: #1877f2;
    color: #ffffff;
    transform: translateY(-5px) scale(1.15) rotate(-5deg);
    box-shadow: 0 10px 24px rgba(24, 119, 242, 0.4);
}

.social-icon-btn.youtube {
    color: #ff0000;
}

.social-icon-btn.youtube:hover {
    background: #ff0000;
    color: #ffffff;
    transform: translateY(-5px) scale(1.15) rotate(5deg);
    box-shadow: 0 10px 24px rgba(255, 0, 0, 0.4);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
}

.trust-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: var(--bg-card, #ffffff);
    padding: 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.trust-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-teal);
}

.trust-card-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-indigo);
}

.trust-word {
    display: inline-block;
    opacity: 0;
    transform: translate3d(-14px, 14px, 0) scale(0.92);
    transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: opacity, transform;
}

.trust-word.revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

/* ==========================================================================
   UNIVERSAL RANDOM HIGH-MOTION CARD SLIDE-IN SYSTEM FOR ALL PAGE CARDS
   ========================================================================== */
.surgical-card,
.surgical-card-lux,
.phaco-pillar-box,
.phaco-step-card,
.iol-clean-card,
.about-pillar-card,
.award-card,
.clinical-gallery-card,
.insta-reel-card,
.location-card-free,
.publication-item-card,
.book-card,
.contact-quick-card,
.booking-card,
.floating-badge-card,
.expertise-card,
.stat-card,
.trust-card,
.location-item-card {
    transition: transform 0.85s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.75s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
    will-change: transform, opacity;
}

.global-card-motion-1 {
    transform: translate3d(-240px, 120px, 0) scale(0.6) rotate(-15deg);
    opacity: 0;
}

.global-card-motion-2 {
    transform: translate3d(240px, -130px, 0) scale(0.65) rotate(16deg);
    opacity: 0;
}

.global-card-motion-3 {
    transform: translate3d(-160px, -180px, 0) scale(0.7) rotate(-12deg);
    opacity: 0;
}

.global-card-motion-4 {
    transform: translate3d(170px, 190px, 0) scale(0.55) rotate(14deg);
    opacity: 0;
}

.global-card-motion-5 {
    transform: translate3d(0, 240px, 0) scale(0.5) rotate(-20deg);
    opacity: 0;
}

.global-card-motion-6 {
    transform: translate3d(0, -220px, 0) scale(0.6) rotate(18deg);
    opacity: 0;
}

.global-card-motion-7 {
    transform: translate3d(-200px, 0, 0) scale(0.65) rotate(-10deg);
    opacity: 0;
}

.global-card-motion-8 {
    transform: translate3d(220px, 0, 0) scale(0.6) rotate(12deg);
    opacity: 0;
}

/* Return to exact original position */
.card-slide-revealed {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg) !important;
    opacity: 1 !important;
}

/* ==========================================================================
   UNIVERSAL PREMIUM CARD HOVER INTERACTION OVERRIDES
   ========================================================================== */
.surgical-card.card-slide-revealed:hover,
.surgical-card-lux.card-slide-revealed:hover,
.phaco-step-card.card-slide-revealed:hover,
.iol-clean-card.card-slide-revealed:hover,
.about-pillar-card.card-slide-revealed:hover,
.clinical-gallery-card.card-slide-revealed:hover,
.insta-reel-card.card-slide-revealed:hover,
.location-card-free.card-slide-revealed:hover,
.expertise-card.card-slide-revealed:hover,
.expertise-card.revealed:hover,
.publication-item-card.card-slide-revealed:hover,
.trust-card.card-slide-revealed:hover,
.contact-quick-card.card-slide-revealed:hover,
.location-item-card.card-slide-revealed:hover {
    transform: translateY(-8px) scale(1.02) !important;
    border-color: var(--color-teal, #2a6f6d) !important;
    box-shadow: 0 20px 40px -10px rgba(42, 111, 109, 0.25), 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

/* ==========================================================================
   ULTRA-PREMIUM FLATPICKR CUSTOM DATE PICKER THEME
   ========================================================================== */
.flatpickr-calendar {
    background: #ffffff !important;
    border-radius: 1.25rem !important;
    border: 1px solid rgba(42, 111, 109, 0.25) !important;
    box-shadow: 0 25px 50px -10px rgba(42, 111, 109, 0.35), 0 10px 25px rgba(0, 0, 0, 0.1) !important;
    font-family: var(--font-sans, 'DM Sans', sans-serif) !important;
    padding: 0.75rem !important;
    overflow: hidden !important;
    width: 315px !important;
}

.flatpickr-months {
    background: linear-gradient(135deg, #2a6f6d 0%, #1e5250 100%) !important;
    border-radius: 0.85rem 0.85rem 0 0 !important;
    padding: 0.6rem 0 !important;
    color: #ffffff !important;
}

.flatpickr-months .flatpickr-month {
    color: #ffffff !important;
    fill: #ffffff !important;
    height: 38px !important;
}

.flatpickr-current-month {
    padding-top: 0.25rem !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    font-weight: 750 !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    background: transparent !important;
}

.flatpickr-current-month input.cur-year {
    font-weight: 750 !important;
    color: #ffffff !important;
    font-size: 1rem !important;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    fill: #ffffff !important;
    color: #ffffff !important;
    padding: 0.6rem !important;
    top: 0.35rem !important;
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
    fill: var(--color-gold, #d4af37) !important;
    transform: scale(1.15);
}

span.flatpickr-weekday {
    color: var(--color-teal, #2a6f6d) !important;
    font-weight: 750 !important;
    font-size: 0.85rem !important;
    margin-top: 0.5rem !important;
}

.flatpickr-day {
    border-radius: 50% !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    transition: all 0.2s ease !important;
    height: 36px !important;
    line-height: 36px !important;
}

.flatpickr-day:hover {
    background: rgba(42, 111, 109, 0.15) !important;
    color: var(--color-teal) !important;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: linear-gradient(135deg, #2a6f6d, #1d4e4c) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(42, 111, 109, 0.4) !important;
}

.flatpickr-day.today {
    border-color: var(--color-gold, #d4af37) !important;
    color: #d4af37 !important;
}

.flatpickr-day.today.selected {
    background: linear-gradient(135deg, #d4af37, #b89628) !important;
    color: #ffffff !important;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
    color: #cbd5e1 !important;
    opacity: 0.35 !important;
}

/* ==========================================================================
   EXTRA-WIDE CONTAINER UTILITY
   ========================================================================== */
.container-wide {
    width: 80%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   CLINICAL SHOWCASE IMAGE CARDS (EXPANSIVE HORIZONTAL & GRID)
   ========================================================================== */
.clinical-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.25rem;
    margin-top: 2rem;
}

.clinical-showcase-card {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(42, 111, 109, 0.15);
    background-color: #ffffff;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.clinical-showcase-card.horizontal-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: stretch;
    overflow: hidden;
    border-radius: 2rem;
    border: 1px solid rgba(42, 111, 109, 0.18);
    box-shadow: 0 25px 60px -15px rgba(42, 111, 109, 0.18), 0 10px 30px rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 992px) {
    .clinical-showcase-card.horizontal-card {
        grid-template-columns: 1fr;
    }
}

.clinical-showcase-card.horizontal-card .clinical-showcase-img {
    width: 100%;
    height: 100%;
    min-height: 440px;
    max-height: 520px;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

.clinical-showcase-card.horizontal-card .clinical-showcase-content {
    padding: 3rem 3.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: none;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
}

.clinical-showcase-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px -15px rgba(42, 111, 109, 0.28);
    border-color: var(--color-teal);
}

.clinical-showcase-img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center 25%;
    display: block;
    transition: transform 0.5s ease;
}

.clinical-showcase-card:hover .clinical-showcase-img {
    transform: scale(1.04);
}

.clinical-showcase-content {
    padding: 1.5rem 1.75rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.showcase-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-teal);
    margin-bottom: 0.4rem;
}

.showcase-title {
    font-size: 1.25rem;
    font-weight: 750;
    color: var(--color-indigo);
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.showcase-desc {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.55;
    text-align: justify;
    text-justify: inter-word;
    text-align-last: justify;
    -moz-text-align-last: justify;
    word-break: break-word;
    hyphens: auto;
}

.showcase-desc .bio-word {
    display: inline-block;
    opacity: 0;
    transform: translate3d(0, 40px, 0);
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.42s ease;
    will-change: transform, opacity;
}

.showcase-desc .bio-sentence.sentence-revealed {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
}

/* ==========================================================================
   COMPREHENSIVE CARE CARD HOVER EFFECT
   ========================================================================== */
.comprehensive-care-card {
    background: linear-gradient(135deg, rgba(42, 111, 109, 0.06), rgba(165, 200, 202, 0.12));
    border: 1px solid rgba(42, 111, 109, 0.15);
    border-radius: 1.5rem;
    padding: 2.25rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease !important;
    will-change: transform, box-shadow;
    position: relative;
    overflow: hidden;
}

.comprehensive-care-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.75s ease;
}

.comprehensive-care-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    border-color: rgba(42, 111, 109, 0.4) !important;
    box-shadow: 0 20px 45px -10px rgba(42, 111, 109, 0.22), 0 8px 20px -6px rgba(0, 0, 0, 0.08) !important;
    background: linear-gradient(135deg, rgba(42, 111, 109, 0.12), rgba(165, 200, 202, 0.22)) !important;
}

.comprehensive-care-card:hover::before {
    left: 100%;
}

/* ==========================================================================
   NEW SECTIONS: ACADEMIC AWARDS, ADVANCED TRAINING, EXPERTISE, SERVICES & SIGNATURE
   ========================================================================== */

/* Awards Grid */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.award-card {
    background: #ffffff;
    border: 1px solid rgba(42, 111, 109, 0.15);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
}

.award-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
    border-color: var(--color-teal);
}

.award-icon-box {
    font-size: 1.5rem;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(42, 111, 109, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.award-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-indigo);
    margin: 0 0 0.15rem 0;
}

/* Advanced Training Section */
.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.training-card {
    background: #ffffff;
    border: 1px solid rgba(42, 111, 109, 0.15);
    border-radius: 14px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.training-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
    border-color: var(--color-teal);
}

.training-icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-teal), #1f5351);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.training-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-indigo);
    line-height: 1.5;
    margin: 0;
}

/* Expertise Categories Stack */
.expertise-categories-stack {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.expertise-category-block {
    background: #ffffff;
    border: 1px solid rgba(42, 111, 109, 0.15);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.expertise-category-block:hover {
    box-shadow: var(--shadow-soft);
    border-color: rgba(42, 111, 109, 0.3);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(42, 111, 109, 0.1);
}

.category-header-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(42, 111, 109, 0.1);
    color: var(--color-teal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-indigo);
    margin: 0;
}

.expertise-bullets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.85rem 1.5rem;
}

.expertise-bullet-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
}

.expertise-bullet-item svg {
    color: var(--color-teal);
    flex-shrink: 0;
}

/* (Duplicate services grid styles removed for clean specificity) */

.service-chip {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.65rem 1.05rem;
    border-radius: 999px;
    background: rgba(42, 111, 109, 0.1);
    color: var(--color-teal);
    border: 1px solid rgba(42, 111, 109, 0.18);
    box-shadow: inset 0 0 0 0 rgba(42, 111, 109, 0.1);
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.service-chip:hover {
    transform: translateY(-2px);
    background: var(--color-teal);
    color: #ffffff;
    border-color: rgba(42, 111, 109, 0.3);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

@keyframes cardFloatIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-category-card {
    animation: cardFloatIn 0.85s ease forwards;
}

/* Signature Treatments Grid */
.signature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.signature-card {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.signature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
    border-color: var(--color-teal);
}

.signature-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(42, 111, 109, 0.1);
    color: var(--color-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.signature-card-title {
    font-size: 0.98rem;
    font-weight: 650;
    color: var(--color-indigo);
    margin: 0;
}

/* Why Patients Choose Trust Cards & Tagline Banner */
.trust-card {
    background: #ffffff;
    border: 1px solid rgba(42, 111, 109, 0.15);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
}

.trust-card:hover {
    border-color: var(--color-teal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.tagline-banner {
    margin-top: 3rem;
    background: linear-gradient(135deg, var(--color-teal), #184846);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.tagline-text {
    font-family: var(--font-serif);
    font-size: 1.65rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.tagline-text span {
    color: #a8d8d8;
}

/* ==========================================================================
   SIGNATURE TREATMENTS 3-COLUMN EQUAL GRID LAYOUT (MATCHING IMAGE 1)
   ========================================================================== */

#signature-treatments {
    background: transparent !important;
}

#signature-treatments .services-title {
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}

#signature-treatments .services-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-teal);
    border-radius: 2px;
}

.signature-flex-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem 1.25rem;
    max-width: 1100px;
    margin: 2.5rem auto 0 auto;
}

.signature-pill-item {
    background: #ffffff !important;
    padding: 0 1.25rem !important;
    height: 52px !important;
    border-radius: 50px !important;
    box-shadow: 0 6px 20px rgba(42, 111, 109, 0.06) !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    color: var(--color-teal) !important;
    border: 1px solid rgba(42, 111, 109, 0.12) !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    flex-shrink: 0 !important;
    width: auto !important;
    max-width: max-content !important;
    text-align: center !important;
    line-height: 1 !important;
}

.signature-pill-item * {
    white-space: nowrap !important;
}

.signature-pill-item:hover {
    background-color: var(--color-teal) !important;
    color: #ffffff !important;
    transform: scale(1.05) translateY(-2px) !important;
    box-shadow: 0 12px 28px rgba(42, 111, 109, 0.22) !important;
    border-color: var(--color-teal) !important;
}

@media (max-width: 768px) {
    .signature-flex-list {
        gap: 0.85rem 0.85rem;
    }

    .signature-pill-item {
        height: 46px !important;
        padding: 0 1rem !important;
        font-size: 0.82rem !important;
    }
}

/* Directional Reveal Animations (Left, Right, Bottom, Top) */
.reveal-left,
.reveal-right,
.reveal-bottom,
.reveal-top {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

/* Extreme High-Motion Entry Variants (Pure Slide & Reveal, Crisp & Sharp) */
.motion-variant-1 {
    transform: perspective(1000px) translateY(350px) scale(0.65) rotate(-15deg) rotateX(30deg);
    opacity: 0;
}

.motion-variant-2 {
    transform: perspective(1000px) translateX(-450px) scale(0.65) rotate(20deg) rotateY(-35deg);
    opacity: 0;
}

.motion-variant-3 {
    transform: perspective(1000px) translateX(450px) scale(0.65) rotate(-20deg) rotateY(35deg);
    opacity: 0;
}

.motion-variant-4 {
    transform: perspective(1000px) translateY(-350px) scale(0.65) rotate(15deg) rotateX(-30deg);
    opacity: 0;
}

.motion-variant-5 {
    transform: perspective(1000px) translateY(300px) translateX(-300px) scale(0.65) rotate(-25deg);
    opacity: 0;
}

.motion-variant-6 {
    transform: perspective(1000px) translateY(300px) translateX(300px) scale(0.65) rotate(25deg);
    opacity: 0;
}

.slide-from-right {
    transform: perspective(1000px) translateX(500px) scale(0.65) rotate(25deg) rotateY(-40deg);
    opacity: 0;
}

.slide-from-down-left {
    transform: perspective(1000px) translateY(350px) translateX(-400px) scale(0.65) rotate(-25deg) rotateY(40deg);
    opacity: 0;
}

.motion-variant-1.revealed,
.motion-variant-2.revealed,
.motion-variant-3.revealed,
.motion-variant-4.revealed,
.motion-variant-5.revealed,
.motion-variant-6.revealed,
.motion-variant-1.active,
.motion-variant-2.active,
.motion-variant-3.active,
.motion-variant-4.active,
.motion-variant-5.active,
.motion-variant-6.active,
.slide-from-right.revealed,
.slide-from-right.active,
.slide-from-down-left.revealed,
.slide-from-down-left.active {
    opacity: 1 !important;
    transform: perspective(1000px) translate3d(0, 0, 0) scale(1) rotate(0deg) rotateX(0deg) rotateY(0deg) !important;
    transition: opacity 0.95s cubic-bezier(0.175, 0.885, 0.32, 1.35), transform 0.95s cubic-bezier(0.175, 0.885, 0.32, 1.35) !important;
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-bottom {
    transform: translateY(40px);
}

.reveal-top {
    transform: translateY(-40px);
}

/* Service Category Cards Dynamic Left/Right Slide Entrance */
.service-category-card.slide-left {
    opacity: 0 !important;
    transform: translateX(-150px) translateY(0) !important;
    transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.85s ease !important;
    will-change: transform, opacity;
}

.service-category-card.slide-right {
    opacity: 0 !important;
    transform: translateX(150px) translateY(0) !important;
    transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.85s ease !important;
    will-change: transform, opacity;
}

.service-category-card.slide-left.slide-active,
.service-category-card.slide-right.slide-active {
    opacity: 1 !important;
    transform: translateX(0) translateY(0) !important;
}

.reveal-left.revealed,
.reveal-right.revealed,
.reveal-bottom.revealed,
.reveal-top.revealed,
.reveal-left.active,
.reveal-right.active,
.reveal-bottom.active,
.reveal-top.active {
    opacity: 1;
    transform: translate(0);
}

/* Staggered Delay Classes */
.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

.delay-3 {
    transition-delay: 0.45s;
}

.delay-4 {
    transition-delay: 0.6s;
}

/* ==========================================================================
   WORD REVEAL ANIMATION - SLIDE UP FROM BELOW
   ========================================================================== */

.word-reveal {
    display: inline-block;
    margin-right: 0.25em;
    white-space: nowrap;
}

.word-reveal {
    opacity: 0;
    transform: translateY(20px);
    animation: wordRevealUp 0.6s ease-out forwards;
}

@keyframes wordRevealUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger delays for word reveal animation */
.word-reveal.delay-word-0 {
    animation-delay: 0s;
}

.word-reveal.delay-word-1 {
    animation-delay: 0.05s;
}

.word-reveal.delay-word-2 {
    animation-delay: 0.1s;
}

.word-reveal.delay-word-3 {
    animation-delay: 0.15s;
}

.word-reveal.delay-word-4 {
    animation-delay: 0.2s;
}

.word-reveal.delay-word-5 {
    animation-delay: 0.25s;
}

.word-reveal.delay-word-6 {
    animation-delay: 0.3s;
}

.word-reveal.delay-word-7 {
    animation-delay: 0.35s;
}

.word-reveal.delay-word-8 {
    animation-delay: 0.4s;
}

.word-reveal.delay-word-9 {
    animation-delay: 0.45s;
}

.word-reveal.delay-word-10 {
    animation-delay: 0.5s;
}

.word-reveal.delay-word-11 {
    animation-delay: 0.55s;
}

.word-reveal.delay-word-12 {
    animation-delay: 0.6s;
}

.word-reveal.delay-word-13 {
    animation-delay: 0.65s;
}

.word-reveal.delay-word-14 {
    animation-delay: 0.7s;
}

.word-reveal.delay-word-15 {
    animation-delay: 0.75s;
}

.word-reveal.delay-word-16 {
    animation-delay: 0.8s;
}

.word-reveal.delay-word-17 {
    animation-delay: 0.85s;
}

.word-reveal.delay-word-18 {
    animation-delay: 0.9s;
}

.word-reveal.delay-word-19 {
    animation-delay: 0.95s;
}

.word-reveal.delay-word-20 {
    animation-delay: 1.0s;
}

/* Generate more delay classes for longer text */
.word-reveal.delay-word-21 {
    animation-delay: 1.05s;
}

.word-reveal.delay-word-22 {
    animation-delay: 1.1s;
}

.word-reveal.delay-word-23 {
    animation-delay: 1.15s;
}

.word-reveal.delay-word-24 {
    animation-delay: 1.2s;
}

.word-reveal.delay-word-25 {
    animation-delay: 1.25s;
}

.word-reveal.delay-word-26 {
    animation-delay: 1.3s;
}

.word-reveal.delay-word-27 {
    animation-delay: 1.35s;
}

.word-reveal.delay-word-28 {
    animation-delay: 1.4s;
}

.word-reveal.delay-word-29 {
    animation-delay: 1.45s;
}

.word-reveal.delay-word-30 {
    animation-delay: 1.5s;
}

.word-reveal.delay-word-31 {
    animation-delay: 1.55s;
}

.word-reveal.delay-word-32 {
    animation-delay: 1.6s;
}

.word-reveal.delay-word-33 {
    animation-delay: 1.65s;
}

.word-reveal.delay-word-34 {
    animation-delay: 1.7s;
}

.word-reveal.delay-word-35 {
    animation-delay: 1.75s;
}

.word-reveal.delay-word-36 {
    animation-delay: 1.8s;
}

.word-reveal.delay-word-37 {
    animation-delay: 1.85s;
}

.word-reveal.delay-word-38 {
    animation-delay: 1.9s;
}

.word-reveal.delay-word-39 {
    animation-delay: 1.95s;
}

.word-reveal.delay-word-40 {
    animation-delay: 2.0s;
}

.word-reveal.delay-word-41 {
    animation-delay: 2.05s;
}

.word-reveal.delay-word-42 {
    animation-delay: 2.1s;
}

.word-reveal.delay-word-43 {
    animation-delay: 2.15s;
}

.word-reveal.delay-word-44 {
    animation-delay: 2.2s;
}

.word-reveal.delay-word-45 {
    animation-delay: 2.25s;
}

.word-reveal.delay-word-46 {
    animation-delay: 2.3s;
}

.word-reveal.delay-word-47 {
    animation-delay: 2.35s;
}

.word-reveal.delay-word-48 {
    animation-delay: 2.4s;
}

.word-reveal.delay-word-49 {
    animation-delay: 2.45s;
}

.word-reveal.delay-word-50 {
    animation-delay: 2.5s;
}

/* ==========================================================================
   PREMIUM SERVICES OFFERED SECTION
   ========================================================================== */

.services-section {
    position: relative;
    overflow: hidden;
}

/* Decorative ambient blobs behind the section */
.services-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(42, 111, 109, 0.07) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.services-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* Grid container */
.services-offered-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
    align-items: stretch;
}

/* Individual premium card */
.service-category-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.75rem 1.5rem 1.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s ease;
    cursor: default;
}

/* Animated teal accent bar on top edge */
.service-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: linear-gradient(90deg, var(--color-teal), #4ECDC4, var(--color-gold));
    border-radius: 18px 18px 0 0;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(42, 111, 109, 0.3);
    box-shadow: 0 8px 28px rgba(42, 111, 109, 0.12);
}

.service-category-card:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

/* Card top row: icon + title perfectly aligned */
.service-card-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.1rem;
    min-height: 52px;
}

/* Premium gradient icon badge */
.service-card-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(42, 111, 109, 0.1) 0%, rgba(42, 111, 109, 0.04) 100%);
    border: 1.5px solid rgba(42, 111, 109, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-teal);
    transition: all 0.35s ease;
}

.service-card-icon i {
    font-size: 1.25rem;
    transition: transform 0.35s ease;
}

.service-category-card:hover .service-card-icon {
    background: var(--color-teal);
    border-color: var(--color-teal);
    color: #ffffff;
    transform: scale(1.05) rotate(-4deg);
    box-shadow: 0 6px 18px rgba(42, 111, 109, 0.25);
}

.service-category-card:hover .service-card-icon i {
    color: #ffffff;
    transform: rotate(4deg);
}

/* Clean Card title */
.service-card-title {
    font-family: var(--font-serif);
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--color-indigo);
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin: 0;
    padding: 0;
    transition: color 0.3s ease;
}

.service-category-card:hover .service-card-title {
    color: var(--color-teal);
}

/* Chips container aligned smoothly */
.service-chips-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: flex-start;
    gap: 0.55rem;
    padding-top: 0.5rem;
    border-top: none;
    flex-grow: 1;
}

/* Individual chip — premium pill style */
.service-chip {
    display: inline-flex;
    align-items: center;
    font-size: 0.825rem;
    font-weight: 600;
    font-family: var(--font-sans);
    letter-spacing: 0.01em;
    color: #2f706e;
    background: rgba(42, 111, 109, 0.07);
    border: 1px solid rgba(42, 111, 109, 0.12);
    border-radius: 50px;
    padding: 0.4rem 0.9rem;
    line-height: 1.2;
    transition: all 0.25s ease;
    cursor: default;
}

.service-chip:hover {
    background: var(--color-teal);
    color: #ffffff;
    border-color: var(--color-teal);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(42, 111, 109, 0.22);
}

/* Responsive breakpoints */
@media (width: 20000px) {
    .services-offered-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .services-offered-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .service-category-card {
        padding: 1.5rem 1.25rem;
    }

    .service-card-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .service-card-title {
        font-size: 1rem;
    }
}

/* ==========================================================================
   PREMIUM ADVANCED TRAINING SECTION (ELEGANT 2-COLUMN DESIGN)
   ========================================================================== */

.training-section {
    padding: 5.5rem 0;
    background: #FAF9F6;
    position: relative;
    overflow: hidden;
}

/* Subtle background accent blur */
.training-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(42, 111, 109, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.training-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

/* Spacious 2-column grid */
.training-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    margin-top: 3.5rem;
    position: relative;
    z-index: 1;
}

/* Individual Card */
/* ==========================================================================
   ULTRA-PREMIUM ADVANCED TRAINING CARDS
   ========================================================================== */

.training-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(245, 252, 251, 0.6), rgba(255, 255, 255, 0.9));
    position: relative;
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    margin-top: 3rem;
}

@media (max-width: 992px) {
    .training-grid {
        grid-template-columns: 1fr;
    }
}

.training-card {
    position: relative;
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.15);
    border-radius: 20px;
    padding: 2.25rem 2.25rem 2.25rem 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    transition: transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        box-shadow 0.45s ease,
        border-color 0.45s ease,
        background 0.45s ease;
    overflow: hidden;
    will-change: transform, box-shadow;
}

/* Gradient accent ray on top of each card */
.training-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-teal), var(--color-gold), var(--color-sage));
    opacity: 0.85;
    transition: height 0.35s ease, opacity 0.35s ease;
}

.training-card:hover::before {
    height: 6px;
    opacity: 1;
}

.training-card-icon-box {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(42, 111, 109, 0.1), rgba(212, 175, 55, 0.12));
    border: 1.5px solid rgba(42, 111, 109, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-teal);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.35),
        background 0.4s ease,
        border-color 0.4s ease,
        color 0.4s ease,
        box-shadow 0.4s ease;
}

.training-card-icon-box svg {
    width: 28px;
    height: 28px;
    stroke-width: 2;
    transition: transform 0.4s ease, stroke 0.4s ease;
}

.training-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.training-category {
    font-size: 0.72rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-gold);
    background: rgba(212, 175, 55, 0.09);
    border: 1px solid rgba(212, 175, 55, 0.22);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.6rem;
    display: inline-block;
    align-self: flex-start;
}

.training-card-title {
    font-size: 1.25rem;
    font-weight: 750;
    color: var(--color-indigo);
    line-height: 1.3;
    margin-bottom: 0.65rem;
    transition: color 0.35s ease;
}

.training-card-desc {
    font-size: 0.94rem;
    line-height: 1.65;
    color: #475569;
    margin-bottom: 1.15rem;
    transition: color 0.35s ease;
}

.training-badge-pill {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-teal);
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.18);
    border-radius: 50px;
    padding: 0.4rem 1rem;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.35),
        background 0.4s ease,
        border-color 0.4s ease,
        color 0.4s ease,
        box-shadow 0.4s ease;
}

.training-badge-pill .pill-icon {
    width: 14px;
    height: 14px;
    stroke-width: 2.5;
}

/* Hover state for Training Cards */
.training-card:hover {
    transform: translateY(-8px) scale(1.015);
    border-color: var(--color-teal);
    box-shadow: 0 20px 42px rgba(42, 111, 109, 0.15), 0 0 20px rgba(212, 175, 55, 0.15);
    background: linear-gradient(180deg, #ffffff 0%, #f4fbfb 100%);
}

.training-card:hover .training-card-icon-box {
    transform: scale(1.18) rotate(-6deg);
    background: var(--color-teal);
    color: #ffffff;
    border-color: var(--color-teal);
    box-shadow: 0 8px 22px rgba(42, 111, 109, 0.3);
}

.training-card:hover .training-card-icon-box svg {
    stroke: #ffffff;
    transform: rotate(6deg);
}

.training-card:hover .training-card-title {
    color: var(--color-teal);
}

.training-card:hover .training-badge-pill {
    background: var(--color-teal) !important;
    color: #ffffff !important;
    border-color: var(--color-teal) !important;
    transform: translateY(-2px) scale(1.04) !important;
    box-shadow: 0 6px 16px rgba(42, 111, 109, 0.28) !important;
}

.training-card:hover .training-badge-pill .pill-icon {
    stroke: #ffffff !important;
}

/* Training Card Random Slide Keyframes/Classes */
.training-card.training-slide-left:not(.revealed):not(.active):not(.is-visible) {
    opacity: 0;
    transform: translate3d(-340px, 30px, 0) rotate(-6deg) scale(0.82);
}

.training-card.training-slide-right:not(.revealed):not(.active):not(.is-visible) {
    opacity: 0;
    transform: translate3d(340px, 30px, 0) rotate(6deg) scale(0.82);
}

.training-card.training-slide-far-left:not(.revealed):not(.active):not(.is-visible) {
    opacity: 0;
    transform: translate3d(-420px, -20px, 0) rotate(-9deg) scale(0.78);
}

.training-card.training-slide-far-right:not(.revealed):not(.active):not(.is-visible) {
    opacity: 0;
    transform: translate3d(420px, -20px, 0) rotate(9deg) scale(0.78);
}

.training-card.revealed,
.training-card.active,
.training-card.is-visible {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1) !important;
}

/* ==========================================================================
   WORD-BY-WORD SLIDE FROM BOTTOM REVEAL ANIMATION
   ========================================================================== */

.bio-word {
    display: inline-block;
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.45s ease;
    will-change: transform, opacity;
}

.bio-word.word-revealed,
.bio-paragraphs.revealed .bio-word,
.about-bio.revealed .bio-word,
.about-editorial-box.revealed .bio-word,
.phaco-hero-showcase.revealed .bio-word,
.philosophy-container.revealed .bio-word {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
}

.para-fade-up {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.para-fade-up.revealed,
.para-fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   CLINICAL PRACTICE SHOWCASE CARD (FULL HEIGHT LEFT IMAGE FILL)
   ========================================================================== */

.clinical-showcase-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.15);
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    align-items: stretch;
}

.clinical-showcase-img {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    display: block !important;
    border-top-left-radius: 24px !important;
    border-bottom-left-radius: 24px !important;
}

.clinical-showcase-content {
    padding: 3.5rem 3.5rem 3.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

/* ==========================================================================
   SIGNATURE FLOATING PILLS SILKY-SMOOTH SLIDE ANIMATION (NO POP, NO JUMP)
   ========================================================================== */

.signature-floating-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.6rem;
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.2);
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--color-teal);
    cursor: pointer;
    will-change: transform, opacity;
    transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.75s ease-out,
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        color 0.35s ease;
}

.signature-floating-pill:hover {
    background: var(--color-teal) !important;
    color: #ffffff !important;
    border-color: var(--color-teal) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 26px rgba(42, 111, 109, 0.25) !important;
}

/* Silky Smooth Off-Screen Left/Right Slide Variants (Pure Translation, No Scale, No Rotation) */
.signature-floating-pill:not(.pill-revealed) {
    opacity: 0 !important;
    transform: translate3d(-180px, 0, 0) !important;
}

.signature-floating-pill.pill-slide-left:not(.pill-revealed) {
    opacity: 0 !important;
    transform: translate3d(-180px, 0, 0) !important;
}

.signature-floating-pill.pill-slide-right:not(.pill-revealed) {
    opacity: 0 !important;
    transform: translate3d(180px, 0, 0) !important;
}

.signature-floating-pill.pill-slide-top-left:not(.pill-revealed) {
    opacity: 0 !important;
    transform: translate3d(-140px, -20px, 0) !important;
}

.signature-floating-pill.pill-slide-top-right:not(.pill-revealed) {
    opacity: 0 !important;
    transform: translate3d(140px, -20px, 0) !important;
}

.signature-floating-pill.pill-slide-bottom-left:not(.pill-revealed) {
    opacity: 0 !important;
    transform: translate3d(-220px, 20px, 0) !important;
}

.signature-floating-pill.pill-slide-bottom-right:not(.pill-revealed) {
    opacity: 0 !important;
    transform: translate3d(220px, 20px, 0) !important;
}

.signature-floating-pill.pill-slide-far-left:not(.pill-revealed) {
    opacity: 0 !important;
    transform: translate3d(-260px, 0, 0) !important;
}

.signature-floating-pill.pill-slide-far-right:not(.pill-revealed) {
    opacity: 0 !important;
    transform: translate3d(260px, 0, 0) !important;
}

.signature-floating-pill.pill-revealed {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
}

/* ==========================================================================
   SERVICE CHIP INTERACTIVE DESCRIPTION PANEL & ACTIVE CHIP STYLING
   ========================================================================== */

.service-chip {
    cursor: pointer !important;
}

.service-chip.active {
    background: var(--color-teal) !important;
    color: #ffffff !important;
    border-color: var(--color-teal) !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 6px 18px rgba(42, 111, 109, 0.3) !important;
}

.service-description-panel {
    background: linear-gradient(135deg, #ffffff 0%, #f4fbfb 100%);
    border: 1.5px solid rgba(42, 111, 109, 0.25);
    border-radius: 20px;
    padding: 2.25rem 2.5rem;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    position: relative;
    overflow: hidden;
    animation: servicePanelSlideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.service-description-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-teal), var(--color-gold));
}

.close-description-btn {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: rgba(42, 111, 109, 0.08);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--color-indigo);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.close-description-btn:hover {
    background: var(--color-teal);
    color: #ffffff;
    transform: rotate(90deg);
}

.service-description-tag {
    font-size: 0.75rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-teal);
    margin-bottom: 0.4rem;
    display: inline-block;
}

.service-description-title {
    font-size: 1.45rem;
    font-weight: 750;
    color: var(--color-indigo);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.service-description-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 1.5rem;
    max-width: 860px;
}

.service-description-action {
    display: flex;
    align-items: center;
    gap: 1rem;
}

@keyframes servicePanelSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ==========================================================================
   IN-CARD CHIP DESCRIPTION DRAWER
   ========================================================================== */

.card-chip-drawer {
    margin-top: 1rem;
    padding: 1.1rem 1.25rem;
    background: linear-gradient(135deg, rgba(42, 111, 109, 0.08), rgba(245, 252, 251, 0.95));
    border: 1.5px solid rgba(42, 111, 109, 0.22);
    border-radius: 14px;
    position: relative;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    animation: drawerSlideDown 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.card-chip-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}

.card-chip-drawer-title {
    font-size: 0.95rem;
    font-weight: 750;
    color: var(--color-indigo);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.card-chip-drawer-title::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-teal);
}

.card-chip-drawer-close {
    background: rgba(42, 111, 109, 0.12);
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 1.1rem;
    line-height: 1;
    color: var(--color-indigo);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.card-chip-drawer-close:hover {
    background: var(--color-teal);
    color: #ffffff;
}

.card-chip-drawer-text {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #334155;
    margin: 0 0 0.75rem 0;
}

.card-chip-drawer-action {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-teal);
    text-decoration: none;
    transition: color 0.2s ease;
}

.card-chip-drawer-action:hover {
    color: var(--color-gold);
    text-decoration: underline;
}

@keyframes drawerSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}



@media (max-width: 992px) {
    .training-grid {
        grid-template-columns: 1fr;
        gap: 1.35rem;
    }
}

@media (max-width: 640px) {
    .training-card {
        padding: 1.5rem 1.25rem;
        gap: 1rem;
    }

    .training-card-icon-box {
        width: 46px;
        height: 46px;
        border-radius: 12px;
    }

    .training-card-icon-box svg {
        width: 22px;
        height: 22px;
    }

    .training-card-title {
        font-size: 1.1rem;
    }

    .training-card-desc {
        font-size: 0.875rem;
    }
}

/* ==========================================================================
   HIGH-MOTION RANDOM HORIZONTAL SPRING SLIDE FOR EXPERTISE & SERVICES
   ========================================================================== */
.expertise-category-block,
.expertise-card,
.service-category-card {
    transition: transform 0.75s cubic-bezier(0.175, 0.885, 0.32, 1.35),
        opacity 0.75s cubic-bezier(0.175, 0.885, 0.32, 1.35),
        box-shadow 0.45s ease,
        border-color 0.45s ease,
        background 0.45s ease;
    will-change: transform, opacity;
}

.surgical-card.expertise-slide-left:not(.revealed):not(.active):not(.is-visible),
.surgical-card-lux.expertise-slide-left:not(.revealed):not(.active):not(.is-visible),
.expertise-category-block.expertise-slide-left:not(.revealed):not(.active):not(.is-visible),
.expertise-card.expertise-slide-left:not(.revealed):not(.active):not(.is-visible),
.service-category-card.service-slide-left:not(.revealed):not(.active):not(.is-visible),
.service-category-card.slide-from-left:not(.revealed):not(.active):not(.is-visible) {
    opacity: 0;
    transform: translate3d(-340px, 30px, 0) rotate(-6deg) scale(0.82);
}

.surgical-card.expertise-slide-right:not(.revealed):not(.active):not(.is-visible),
.surgical-card-lux.expertise-slide-right:not(.revealed):not(.active):not(.is-visible),
.expertise-category-block.expertise-slide-right:not(.revealed):not(.active):not(.is-visible),
.expertise-card.expertise-slide-right:not(.revealed):not(.active):not(.is-visible),
.service-category-card.service-slide-right:not(.revealed):not(.active):not(.is-visible),
.service-category-card.slide-from-right:not(.revealed):not(.active):not(.is-visible) {
    opacity: 0;
    transform: translate3d(340px, 30px, 0) rotate(6deg) scale(0.82);
}

.surgical-card.expertise-slide-far-left:not(.revealed):not(.active):not(.is-visible),
.surgical-card-lux.expertise-slide-far-left:not(.revealed):not(.active):not(.is-visible),
.expertise-category-block.expertise-slide-far-left:not(.revealed):not(.active):not(.is-visible),
.expertise-card.expertise-slide-far-left:not(.revealed):not(.active):not(.is-visible),
.service-category-card.service-slide-far-left:not(.revealed):not(.active):not(.is-visible) {
    opacity: 0;
    transform: translate3d(-420px, -20px, 0) rotate(-9deg) scale(0.78);
}

.surgical-card.expertise-slide-far-right:not(.revealed):not(.active):not(.is-visible),
.surgical-card-lux.expertise-slide-far-right:not(.revealed):not(.active):not(.is-visible),
.expertise-category-block.expertise-slide-far-right:not(.revealed):not(.active):not(.is-visible),
.expertise-card.expertise-slide-far-right:not(.revealed):not(.active):not(.is-visible),
.service-category-card.service-slide-far-right:not(.revealed):not(.active):not(.is-visible) {
    opacity: 0;
    transform: translate3d(420px, -20px, 0) rotate(9deg) scale(0.78);
}

.surgical-card.revealed,
.surgical-card.active,
.surgical-card.is-visible,
.surgical-card-lux.revealed,
.surgical-card-lux.active,
.surgical-card-lux.is-visible,
.expertise-category-block.revealed,
.expertise-category-block.active,
.expertise-category-block.is-visible,
.expertise-card.revealed,
.expertise-card.active,
.expertise-card.is-visible,
.service-category-card.revealed,
.service-category-card.active,
.service-category-card.is-visible {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1) !important;
}

/* ==========================================================================
   RANDOM LEFT AND RIGHT SPRING SLIDE FOR SERVICE CHIPS & PROCEDURE CARDS
   ========================================================================== */

.service-chip,
.treatment-pill,
.expertise-bullet-pill,
.training-badge-pill {
    transition: transform 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.45),
        opacity 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.45),
        background 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
    will-change: transform, opacity;
}

/* Service Chips Pop Animation Override */
.service-chip:not(.chip-popped) {
    opacity: 0 !important;
    transform: scale(0.3) translate3d(0, 20px, 0) !important;
}

.service-chip.chip-slide-left:not(.chip-popped),
.service-chip.chip-slide-right:not(.chip-popped),
.service-chip.chip-slide-far-left:not(.chip-popped),
.service-chip.chip-slide-far-right:not(.chip-popped) {
    opacity: 0 !important;
    transform: scale(0.3) translate3d(0, 20px, 0) !important;
}

.treatment-pill.chip-slide-left:not(.chip-popped),
.expertise-bullet-pill.chip-slide-left:not(.chip-popped),
.training-badge-pill.chip-slide-left:not(.chip-popped) {
    opacity: 0;
    transform: translate3d(-80px, 14px, 0) rotate(-4deg) scale(0.82);
}

.treatment-pill.chip-slide-right:not(.chip-popped),
.expertise-bullet-pill.chip-slide-right:not(.chip-popped),
.training-badge-pill.chip-slide-right:not(.chip-popped) {
    opacity: 0;
    transform: translate3d(80px, 14px, 0) rotate(4deg) scale(0.82);
}

.treatment-pill.chip-slide-far-left:not(.chip-popped),
.expertise-bullet-pill.chip-slide-far-left:not(.chip-popped) {
    opacity: 0;
    transform: translate3d(-120px, -12px, 0) rotate(-7deg) scale(0.78);
}

.treatment-pill.chip-slide-far-right:not(.chip-popped),
.expertise-bullet-pill.chip-slide-far-right:not(.chip-popped) {
    opacity: 0;
    transform: translate3d(120px, -12px, 0) rotate(7deg) scale(0.78);
}

.service-chip.chip-popped {
    opacity: 1 !important;
    transform: scale(1) translate3d(0, 0, 0) !important;
    transition: transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.45),
        opacity 0.35s ease,
        background 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease !important;
}

.treatment-pill.chip-popped,
.expertise-bullet-pill.chip-popped,
.training-badge-pill.chip-popped {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1) !important;
}

/* ==========================================================================
   USER REQUESTED SERVICE CHIP & DESCRIPTION BOX STYLING
   ========================================================================== */

.service-chip {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #d5e3e3;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
    background: #f0f7f7;
    color: #0f172a;
    font-size: 14px;
    font-weight: 600;
    margin: 4px;
    user-select: none;
}

.service-chip:hover,
.service-chip.active {
    background: #1f7775 !important;
    color: white !important;
    border-color: #1f7775 !important;
}

.service-chip-description {
    display: none;
    flex-basis: 100%;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 12px;
    padding: 15px 18px;
    background: #f5fafa;
    border: 1px solid #d5e3e3;
    border-radius: 12px;
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* Star Pop One-by-One Animation & Inside Carousel Buttons */
.star-pop {
    opacity: 0;
    will-change: transform, opacity;
}

@keyframes starPop {
    0% {
        opacity: 0;
        transform: scale(0.1) translateY(14px) rotate(-20deg);
    }

    70% {
        opacity: 1;
        transform: scale(1.35) translateY(-3px) rotate(6deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0) rotate(0deg);
    }
}

.review-prev-btn:hover,
.review-next-btn:hover {
    background: var(--color-teal) !important;
    color: #ffffff !important;
    transform: scale(1.08) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25) !important;
}

/* Slide Up Animation for Review Card */
@keyframes slideUpReview {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.98);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.review-slide-animate {
    animation: slideUpReview 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Word-by-Word Staggered Slide Up Animation */
.word-slide {
    display: inline-block;
    opacity: 0;
    transform: translateY(18px);
    will-change: transform, opacity;
}

@keyframes slideWordUp {
    0% {
        opacity: 0;
        transform: translateY(18px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Premium Location Map Entrance Overlay & Animation */
.location-map-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.08);
    background-color: #f1f5f9;
}

.map-entrance-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(2px);
    opacity: 0;
    animation: mapIconEntrance 1.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.map-entrance-pin {
    width: 65px;
    height: 65px;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.25));
}

.location-map-wrapper iframe {
    display: block;
    width: 100%;
    border: none;
    opacity: 0;
    transform: scale(1.6);
    filter: contrast(1.05);
    transition: filter 0.3s ease;
    animation: zoomOutMap 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.5s;
}

@keyframes mapIconEntrance {
    0% {
        opacity: 0;
        transform: scale(0.4);
    }

    30%,
    75% {
        opacity: 1;
        transform: scale(1.15);
    }

    100% {
        opacity: 0;
        transform: scale(1);
    }
}

@keyframes zoomOutMap {
    0% {
        opacity: 0;
        transform: scale(1.6);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.location-map-wrapper:hover iframe {
    filter: contrast(1.1) brightness(1.02);
}

/* ==========================================================================
   SERVICES OFFERED - SLIDE ENTRANCE ANIMATIONS & SMOOTH TRANSITIONS
   ========================================================================== */

.services-section {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-section.services-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Section Header Slide Down */
.services-section .text-center-wrapper {
    opacity: 0;
    transform: translateY(-35px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.services-section.services-revealed .text-center-wrapper {
    opacity: 1;
    transform: translateY(0);
}

/* Switcher Bar Slide Up */
.services-section .services-switcher-bar {
    opacity: 0;
    transform: translateY(35px) scale(0.95);
    transition: opacity 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) 0.28s, transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) 0.28s;
}

.services-section.services-revealed .services-switcher-bar {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Master Sidebar & Detail Panel Setup */
.services-section .master-sidebar-card {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.services-section .detail-panel-card {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Detail Panel Content Update Slide Keyframes */
.detail-panel-card.slide-in-detail {
    animation: detailSlideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes detailSlideInRight {
    from {
        opacity: 0.5;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mode 1 Master Item Rows */
.master-item-row {
    opacity: 1;
    visibility: visible;
    will-change: transform, opacity;
    transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

@keyframes slideRowSmoothLeft {
    0% {
        opacity: 0;
        visibility: visible;
        transform: translate3d(-35px, 0, 0);
    }

    100% {
        opacity: 1;
        visibility: visible;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideRowSmoothRight {
    0% {
        opacity: 0;
        visibility: visible;
        transform: translate3d(35px, 0, 0);
    }

    100% {
        opacity: 1;
        visibility: visible;
        transform: translate3d(0, 0, 0);
    }
}

.master-item-row:hover {
    transform: translateX(8px);
}

.master-item-row.active {
    transform: translateX(10px);
}

/* Mode 2: Category Chips Slide-in From Left */
.category-chips-scroll {
    opacity: 0;
    transform: translateX(-35px);
    transition: opacity 0.75s cubic-bezier(0.25, 1, 0.5, 1) 0.2s, transform 0.75s cubic-bezier(0.25, 1, 0.5, 1) 0.2s;
}

.services-section.services-revealed .category-chips-scroll {
    opacity: 1;
    transform: translateX(0);
}

/* Mode 2: Category Cards - Exact Advanced Training Section Flying Slide Mechanics */
.cat-service-card {
    transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.cat-service-card.cat-slide-left:not(.revealed):not(.active):not(.is-visible) {
    opacity: 0 !important;
    transform: translate3d(-340px, 30px, 0) rotate(-6deg) scale(0.82) !important;
}

.cat-service-card.cat-slide-right:not(.revealed):not(.active):not(.is-visible) {
    opacity: 0 !important;
    transform: translate3d(340px, 30px, 0) rotate(6deg) scale(0.82) !important;
}

.cat-service-card.cat-slide-far-left:not(.revealed):not(.active):not(.is-visible) {
    opacity: 0 !important;
    transform: translate3d(-420px, -20px, 0) rotate(-9deg) scale(0.78) !important;
}

.cat-service-card.cat-slide-far-right:not(.revealed):not(.active):not(.is-visible) {
    opacity: 0 !important;
    transform: translate3d(420px, -20px, 0) rotate(9deg) scale(0.78) !important;
}

.cat-service-card.revealed,
.cat-service-card.active,
.cat-service-card.is-visible {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1) !important;
}

/* Switcher Bar */
.services-switcher-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.25rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.switcher-label {
    font-weight: 750;
    color: var(--color-indigo, #1F2937);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.switcher-label i {
    color: var(--color-teal, #2A6F6D);
    animation: spinGear 12s linear infinite;
}

@keyframes spinGear {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.switcher-toggle-pill {
    display: inline-flex;
    background: #e2e8f0;
    border-radius: 35px;
    padding: 5px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.08);
    position: relative;
}

.mode-toggle-btn {
    padding: 0.65rem 1.45rem;
    border-radius: 30px;
    border: none;
    background: transparent;
    color: #64748b;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    gap: 0.55rem;
    position: relative;
    overflow: hidden;
}

.mode-toggle-btn.active {
    background: var(--color-teal, #2A6F6D);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(42, 111, 109, 0.38);
    transform: translateY(-2px) scale(1.02);
}

.mode-toggle-btn:hover:not(.active) {
    color: var(--color-teal, #2A6F6D);
    transform: translateY(-1px);
}

.mode-toggle-btn i {
    transition: transform 0.3s ease;
}

.mode-toggle-btn:hover i {
    transform: scale(1.25) rotate(-5deg);
}

/* UI MODE 1: MASTER DETAIL LAYOUT */
.master-detail-container {
    display: grid;
    grid-template-columns: 440px 1fr;
    gap: 2.25rem;
    align-items: stretch;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 992px) {
    .master-detail-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Master Sidebar */
.master-sidebar-card {
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.18);
    border-radius: 22px;
    padding: 1.5rem;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    height: 730px;
    min-height: 730px;
    max-height: 730px;
    box-sizing: border-box;
    position: relative;
    transition: box-shadow 0.3s ease;
}

.master-sidebar-card:hover {
    box-shadow: 0 16px 45px rgba(42, 111, 109, 0.12);
}

.sidebar-header-box {
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(42, 111, 109, 0.12);
    flex-shrink: 0;
}

.sidebar-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-indigo, #1F2937);
    margin-bottom: 0.65rem;
}

.sidebar-search-wrapper {
    position: relative;
    width: 100%;
}

.sidebar-search-wrapper .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.9rem;
    transition: color 0.25s ease, transform 0.25s ease;
}

.sidebar-search-wrapper input:focus+.search-icon,
.sidebar-search-wrapper input:not(:placeholder-shown)+.search-icon {
    color: var(--color-teal, #2A6F6D);
    transform: translateY(-50%) scale(1.15);
}

.sidebar-search-wrapper input {
    width: 100%;
    padding: 0.7rem 1rem 0.7rem 2.5rem;
    border-radius: 14px;
    border: 1.5px solid #cbd5e1;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.sidebar-search-wrapper input:focus {
    border-color: var(--color-teal, #2A6F6D);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(42, 111, 109, 0.14);
}

/* Left Card List: Scrollbar */
.master-scroll-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
    scrollbar-width: thin;
    scrollbar-color: var(--color-teal, #2A6F6D) #f1f5f9;
}

.master-scroll-list::-webkit-scrollbar {
    width: 5px;
}

.master-scroll-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 6px;
}

.master-scroll-list::-webkit-scrollbar-thumb {
    background: var(--color-teal, #2A6F6D);
    border-radius: 6px;
}

.master-scroll-list::-webkit-scrollbar-thumb:hover {
    background: #1b4f4d;
}

/* Master Item Rows - Silky Smooth Eased Slide Entrance */
.master-item-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.72rem 1rem;
    border-radius: 14px;
    background: #f8fafc;
    border: 1.5px solid rgba(42, 111, 109, 0.08);
    cursor: pointer;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    flex-shrink: 0;
    opacity: 0;
    visibility: hidden;
    will-change: transform, opacity;
}

.master-item-row.slide-row-left {
    animation: slideRowSmoothLeft 0.55s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.master-item-row.slide-row-right {
    animation: slideRowSmoothRight 0.55s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes slideRowSmoothLeft {
    0% {
        opacity: 0;
        visibility: visible;
        transform: translate3d(-35px, 0, 0);
    }
    100% {
        opacity: 1;
        visibility: visible;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideRowSmoothRight {
    0% {
        opacity: 0;
        visibility: visible;
        transform: translate3d(35px, 0, 0);
    }
    100% {
        opacity: 1;
        visibility: visible;
        transform: translate3d(0, 0, 0);
    }
}

.master-item-row:hover {
    background: #ffffff;
    border-color: rgba(42, 111, 109, 0.3);
    transform: translateX(6px);
    box-shadow: 0 4px 15px rgba(42, 111, 109, 0.08);
}

.master-item-row.active {
    background: linear-gradient(135deg, rgba(42, 111, 109, 0.12) 0%, rgba(212, 175, 55, 0.08) 100%);
    border-color: var(--color-teal, #2A6F6D);
    box-shadow: 0 6px 18px rgba(42, 111, 109, 0.15);
    transform: translateX(8px);
}

.master-item-row .item-num-badge {
    background: #94a3b8;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    min-width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.28s ease;
}

.master-item-row:hover .item-num-badge,
.master-item-row.active .item-num-badge {
    background: var(--color-teal, #2A6F6D);
    box-shadow: 0 0 10px rgba(42, 111, 109, 0.45);
    transform: scale(1.1);
}

.master-item-row .item-title-text {
    font-size: 0.92rem;
    font-weight: 600;
    color: #334155;
    flex: 1;
    line-height: 1.3;
    transition: color 0.25s ease;
}

.master-item-row:hover .item-title-text {
    color: var(--color-teal, #2A6F6D);
}

.master-item-row.active .item-title-text {
    color: var(--color-indigo, #1F2937);
    font-weight: 800;
}

.master-item-row .item-chevron {
    color: #cbd5e1;
    font-size: 0.8rem;
    transition: all 0.28s ease;
}

.master-item-row:hover .item-chevron {
    color: var(--color-teal, #2A6F6D);
    transform: translateX(3px);
}

.master-item-row.active .item-chevron {
    color: var(--color-teal, #2A6F6D);
    transform: translateX(5px) scale(1.2);
}

/* Detail Panel Card - Height Matches Left Card Exactly with Custom Scrollbar */
.detail-panel-card {
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.18);
    border-radius: 22px;
    padding: 2rem 2.25rem;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
    height: 730px;
    min-height: 730px;
    max-height: 730px;
    box-sizing: border-box;
    display: block;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Custom Smooth Scrollbar for Right Detail Panel */
.detail-panel-card::-webkit-scrollbar {
    width: 6px;
}

.detail-panel-card::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
    margin: 10px 0;
}

.detail-panel-card::-webkit-scrollbar-thumb {
    background: var(--color-teal, #2A6F6D);
    border-radius: 10px;
}

.detail-panel-card::-webkit-scrollbar-thumb:hover {
    background: #1b4f4d;
}

/* Sliding Effects on Selection */
.detail-panel-card.slide-in-detail {
    animation: detailCardEntrance 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes detailCardEntrance {
    0% {
        opacity: 0.7;
        transform: scale(0.99);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.banner-slide-in {
    opacity: 0;
    animation: detailBannerSlide 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes detailBannerSlide {
    0% {
        opacity: 0;
        transform: translateY(-24px) scale(0.97);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.detail-hero-banner {
    background: linear-gradient(135deg, rgba(42, 111, 109, 0.12) 0%, rgba(212, 175, 55, 0.08) 100%);
    border: 1.5px solid rgba(42, 111, 109, 0.2);
    border-radius: 18px;
    padding: 1.75rem 2rem;
    margin-bottom: 1.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
    min-height: 110px;
    width: 100%;
    box-sizing: border-box;
}

.detail-hero-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.7s ease;
}

.detail-hero-banner:hover::before {
    left: 140%;
}

.detail-banner-info {
    flex: 1 1 auto;
    min-width: 0;
}

.detail-banner-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--color-teal, #2A6F6D);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 750;
    padding: 0.32rem 0.85rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 12px rgba(42, 111, 109, 0.25);
    white-space: nowrap;
}

.detail-banner-title {
    font-size: 1.55rem;
    font-weight: 850;
    color: var(--color-indigo, #1F2937);
    margin: 0;
    line-height: 1.35;
    word-break: normal;
    overflow-wrap: break-word;
}

.detail-banner-icon {
    width: 68px;
    height: 68px;
    min-width: 68px;
    min-height: 68px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(42, 111, 109, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-teal, #2A6F6D);
    flex-shrink: 0;
    animation: floatIcon 4s ease-in-out infinite;
    transition: transform 0.3s ease;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

.detail-banner-icon:hover {
    transform: scale(1.1) rotate(5deg) !important;
}

/* Quick Metrics Bar with Pill Slide Effects */
.detail-quick-metrics {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.quick-metric-pill.pill-slide-in {
    opacity: 0;
    animation: metricPillSlide 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes metricPillSlide {
    0% {
        opacity: 0;
        transform: translateX(35px) scale(0.92);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.quick-metric-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 0.65rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: #475569;
    transition: all 0.28s ease;
}

.quick-metric-pill:hover {
    background: #ffffff;
    border-color: var(--color-teal, #2A6F6D);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(42, 111, 109, 0.12);
}

.quick-metric-pill i {
    color: var(--color-teal, #2A6F6D);
    font-size: 1.05rem;
    transition: transform 0.25s ease;
}

.quick-metric-pill:hover i {
    transform: scale(1.2);
}

.quick-metric-pill strong {
    color: var(--color-indigo, #1F2937);
}

/* Section Sub-blocks in Detail with Slide Entrance */
.detail-section-block.block-slide-in {
    opacity: 0;
    animation: detailBlockSlide 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes detailBlockSlide {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.detail-section-block {
    margin-bottom: 1.6rem;
}

.detail-block-heading {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--color-indigo, #1F2937);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.detail-block-heading i {
    color: var(--color-teal, #2A6F6D);
    font-size: 1.1rem;
}

.detail-overview-text {
    font-size: 1.02rem;
    line-height: 1.75;
    color: #475569;
}

/* Check Grid & Sliding Chips */
.detail-check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.25rem;
}

.detail-check-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.93rem;
    color: #334155;
    font-weight: 600;
    transition: transform 0.25s ease, color 0.25s ease;
    opacity: 0;
}

.detail-check-item.slide-chip-left {
    animation: checkChipSlideLeft 0.52s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.detail-check-item.slide-chip-right {
    animation: checkChipSlideRight 0.52s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes checkChipSlideLeft {
    0% {
        opacity: 0;
        transform: translateX(-40px) scale(0.92);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes checkChipSlideRight {
    0% {
        opacity: 0;
        transform: translateX(40px) scale(0.92);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.detail-check-item:hover {
    transform: translateX(5px);
    color: var(--color-teal, #2A6F6D);
}

.detail-check-item i {
    color: #10b981;
    font-size: 0.95rem;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.detail-check-item.symptom-chip i {
    color: #d97706;
}

.detail-check-item:hover i {
    transform: scale(1.3);
}

/* Bullet list with Staggered Slide In */
.detail-bullet-list {
    display: grid;
    gap: 0.6rem;
}

.detail-bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.94rem;
    color: #475569;
    line-height: 1.55;
    transition: transform 0.25s ease, color 0.25s ease;
    opacity: 0;
    animation: bulletItemSlide 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes bulletItemSlide {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.detail-bullet-item:hover {
    transform: translateX(4px);
    color: var(--color-indigo, #1F2937);
}

.detail-bullet-item i {
    color: var(--color-teal, #2A6F6D);
    font-size: 0.45rem;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

/* Action Bar with Slide Up Entrance */
.detail-action-bar {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    opacity: 0;
}

.detail-action-bar.btn-slide-in {
    animation: btnSlideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes btnSlideUp {
    0% {
        opacity: 0;
        transform: translateY(25px) scale(0.92);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.btn-detail-book {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: linear-gradient(135deg, var(--color-teal, #2A6F6D) 0%, #1f5654 100%);
    color: #ffffff;
    font-weight: 750;
    font-size: 0.96rem;
    padding: 0.85rem 1.75rem;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 6px 20px rgba(42, 111, 109, 0.3);
}

.btn-detail-book:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 28px rgba(42, 111, 109, 0.42);
    background: linear-gradient(135deg, #1f5654 0%, var(--color-teal, #2A6F6D) 100%);
}

.btn-detail-book i {
    transition: transform 0.3s ease;
}

.btn-detail-book:hover i {
    transform: scale(1.2) rotate(-8deg);
}

/* UI MODE 2: CATEGORY TABS & CARDS */
.category-chips-scroll {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 0.95rem;
    padding: 0.5rem 0.2rem 1.5rem 0.2rem;
    margin: 0 auto 2.25rem auto;
    max-width: 1050px;
    overflow: visible;
}

.category-chips-scroll::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.cat-tab-chip {
    padding: 0.7rem 1.45rem;
    border-radius: 35px;
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.22);
    color: #475569;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

.cat-tab-chip:hover {
    border-color: var(--color-teal, #2A6F6D);
    color: var(--color-teal, #2A6F6D);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 16px rgba(42, 111, 109, 0.15);
}

.cat-tab-chip.active {
    background: var(--color-teal, #2A6F6D);
    color: #ffffff;
    border-color: var(--color-teal, #2A6F6D);
    box-shadow: 0 6px 20px rgba(42, 111, 109, 0.38);
    transform: translateY(-2px) scale(1.04);
}

.category-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.85rem;
}

.cat-service-card {
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.18);
    border-radius: 20px;
    padding: 1.65rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cat-service-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-teal, #2A6F6D), var(--color-gold, #D4AF37));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cat-service-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 45px rgba(42, 111, 109, 0.16);
    border-color: var(--color-teal, #2A6F6D);
}

.cat-service-card:hover::after {
    opacity: 1;
}

.cat-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.1rem;
}

.cat-card-num-badge {
    background: rgba(42, 111, 109, 0.1);
    color: var(--color-teal, #2A6F6D);
    font-size: 0.8rem;
    font-weight: 850;
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.cat-service-card:hover .cat-card-num-badge {
    background: var(--color-teal, #2A6F6D);
    color: #ffffff;
}

.cat-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(42, 111, 109, 0.15) 0%, rgba(42, 111, 109, 0.05) 100%);
    color: var(--color-teal, #2A6F6D);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.35s ease;
}

.cat-service-card:hover .cat-card-icon {
    background: var(--color-teal, #2A6F6D);
    color: #ffffff;
    transform: scale(1.15) rotate(-6deg);
    box-shadow: 0 6px 16px rgba(42, 111, 109, 0.3);
}

.cat-card-title {
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--color-indigo, #1F2937);
    margin-bottom: 0.65rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.cat-service-card:hover .cat-card-title {
    color: var(--color-teal, #2A6F6D);
}

.cat-card-desc {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex: 1;
}

.cat-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.cat-card-btn {
    font-size: 0.9rem;
    font-weight: 750;
    color: var(--color-teal, #2A6F6D);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 0.25s ease;
}

.cat-service-card:hover .cat-card-btn {
    gap: 0.75rem;
    color: var(--color-indigo, #1F2937);
}

.cat-card-btn i {
    transition: transform 0.25s ease;
}

.cat-service-card:hover .cat-card-btn i {
    transform: translateX(4px);
}

/* Service Detail Modal (3D Rotation Reveal Animation) */
.service-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    perspective: 1200px;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.service-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.service-modal-card {
    background: #ffffff;
    border-radius: 26px;
    max-width: 740px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 30px 75px rgba(15, 23, 42, 0.35);
    transform: perspective(1200px) rotateY(-80deg) rotateX(12deg) scale(0.75);
    opacity: 0;
    transform-origin: center center;
    transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.45s ease;
}

.service-modal-overlay.active .service-modal-card {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg) scale(1);
    opacity: 1;
}

.modal-close-icon-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid rgba(42, 111, 109, 0.22);
    background: #ffffff;
    font-size: 1.35rem;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 20;
}

.modal-close-icon-btn:hover {
    background: var(--color-teal, #2A6F6D);
    color: #ffffff;
    border-color: var(--color-teal, #2A6F6D);
    transform: rotate(180deg) scale(1.12);
    box-shadow: 0 8px 25px rgba(42, 111, 109, 0.35);
}

/* Charitable Hospital Announcement */
.charitable-hospital-popup {
    position: relative;
    z-index: 10000;
    height: auto;
    padding: 2rem 1.25rem;
    margin: 0 auto;
    pointer-events: none;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.charitable-hospital-popup.active {
    opacity: 1;
    visibility: visible;
}

.charitable-hospital-card {
    position: relative;
    width: min(100%, 520px);
    padding: 3.25rem 2.25rem 2.5rem;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(145deg, #ffffff 0%, #f0f8f7 100%);
    border: 1px solid rgba(42, 111, 109, 0.2);
    border-radius: 22px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.3);
    transform: translateY(18px) scale(0.96);
    transition: transform 0.35s ease;
    pointer-events: auto;
}

.charitable-hospital-popup.active .charitable-hospital-card {
    transform: translateY(0) scale(1);
}

.charitable-hospital-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 6px;
    content: "";
    background: linear-gradient(90deg, var(--color-teal, #2a6f6d), #d4af37, var(--color-teal, #2a6f6d));
}

.charitable-hospital-close {
    position: absolute;
    top: 0.9rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(42, 111, 109, 0.2);
    border-radius: 50%;
    color: #475569;
    background: #ffffff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.charitable-hospital-close:hover {
    color: #ffffff;
    background: var(--color-teal, #2a6f6d);
}

.charitable-hospital-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 1.15rem;
    border-radius: 50%;
    color: #ffffff;
    background: var(--color-teal, #2a6f6d);
    box-shadow: 0 10px 24px rgba(42, 111, 109, 0.25);
}

.charitable-hospital-icon svg {
    width: 30px;
    height: 30px;
}

.charitable-hospital-eyebrow {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--color-teal, #2a6f6d);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.charitable-hospital-card h2 {
    margin: 0;
    color: var(--color-indigo, #1e293b);
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.7rem, 5vw, 2.35rem);
    line-height: 1.15;
}

.charitable-hospital-card p {
    max-width: 390px;
    margin: 1rem auto 1.35rem;
    color: #475569;
    font-size: 1rem;
    line-height: 1.7;
}

.charitable-hospital-status {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.9rem;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 999px;
    color: #946c12;
    background: rgba(212, 175, 55, 0.12);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.charitable-hospital-status span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d4af37;
}

@media (max-width: 480px) {
    .charitable-hospital-card {
        padding: 3rem 1.4rem 2rem;
    }
}

/* ==========================================================================
   FAQ ACCORDION SECTION STYLING
   ========================================================================== */
.faq-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(245, 252, 251, 0.65), rgba(255, 255, 255, 0.98));
    position: relative;
    overflow: hidden;
}

.faq-container {
    max-width: 940px;
    margin: 0 auto;
}

.faq-accordion-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 3.5rem;
}

.faq-accordion-item {
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.18);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-accordion-item.faq-slide-left:not(.revealed):not(.is-visible) {
    opacity: 0 !important;
    transform: translate3d(-320px, 25px, 0) rotate(-4deg) scale(0.85) !important;
}

.faq-accordion-item.faq-slide-right:not(.revealed):not(.is-visible) {
    opacity: 0 !important;
    transform: translate3d(320px, 25px, 0) rotate(4deg) scale(0.85) !important;
}

.faq-accordion-item.revealed,
.faq-accordion-item.is-visible {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1) !important;
}

.faq-accordion-item:hover {
    border-color: var(--color-teal, #2A6F6D);
    box-shadow: 0 12px 35px rgba(42, 111, 109, 0.12);
}

.faq-accordion-header {
    width: 100%;
    padding: 1.4rem 1.75rem;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    cursor: pointer;
    text-align: left;
    outline: none;
}

.faq-question-title {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--color-indigo, #1F2937);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    line-height: 1.35;
    transition: color 0.3s ease;
}

.faq-accordion-item:hover .faq-question-title {
    color: var(--color-teal, #2A6F6D);
}

.faq-question-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(42, 111, 109, 0.12) 0%, rgba(42, 111, 109, 0.04) 100%);
    color: var(--color-teal, #2A6F6D);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-accordion-item.active .faq-question-icon {
    background: var(--color-teal, #2A6F6D);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(42, 111, 109, 0.3);
}

.faq-toggle-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--color-teal, #2A6F6D);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, color 0.3s ease;
}

.faq-accordion-item.active .faq-toggle-btn {
    transform: rotate(180deg);
    background: var(--color-teal, #2A6F6D);
    color: #ffffff;
}

.faq-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, padding 0.35s ease;
    opacity: 0;
    padding: 0 1.75rem;
}

.faq-accordion-item.active .faq-accordion-content {
    max-height: 300px;
    opacity: 1;
    padding: 0 1.75rem 1.6rem 1.75rem;
}

.faq-answer-text {
    font-size: 0.98rem;
    line-height: 1.7;
    color: #475569;
    border-top: 1px dashed rgba(42, 111, 109, 0.15);
    padding-top: 1rem;
}

/* ==========================================================================
   PREMIUM INTERACTIVE GOOGLE MAP SECTION & ANIMATIONS
   ========================================================================== */
.contact-map-section {
    position: relative;
    opacity: 0;
    transform: translateY(45px) scale(0.97);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-map-section.active,
.contact-map-section.appeared {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.location-map-card-wrapper {
    position: relative;
    border-radius: 1.75rem;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 14px 35px -8px rgba(42, 111, 109, 0.14), 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1.5px solid rgba(42, 111, 109, 0.15);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s ease;
    height: 320px;
}

.location-map-card-wrapper:hover {
    transform: translateY(-8px) scale(1.006);
    box-shadow: 0 25px 55px -10px rgba(42, 111, 109, 0.3), 0 0 30px rgba(42, 111, 109, 0.15);
    border-color: rgba(42, 111, 109, 0.45);
}

/* Floating Glass Overlay Badge */
.map-hover-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 10;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.55rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(42, 111, 109, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    font-weight: 650;
    color: #1f2937;
    pointer-events: none;
    transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.location-map-card-wrapper:hover .map-hover-badge {
    transform: scale(1.06);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 25px rgba(42, 111, 109, 0.22);
    border-color: var(--color-teal, #2a6f6d);
}

.pulse-beacon {
    width: 10px;
    height: 10px;
    background-color: #10b981;
    border-radius: 50%;
    position: relative;
    display: inline-block;
}

.pulse-beacon::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid #10b981;
    animation: mapBeaconPulse 1.8s infinite ease-out;
}

@keyframes mapBeaconPulse {
    0% {
        transform: scale(0.6);
        opacity: 1;
    }

    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

/* Header Icon Bounce */
.contact-map-section:hover .map-header-icon {
    animation: mapPinBounce 0.75s cubic-bezier(0.36, 0.07, 0.19, 0.97) infinite alternate;
}

@keyframes mapPinBounce {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-6px);
    }
}

.map-directions-btn {
    transition: all 0.35s ease;
    padding: 0.45rem 0.95rem;
    border-radius: 50px;
    background: rgba(42, 111, 109, 0.08);
    border: 1px solid rgba(42, 111, 109, 0.15);
}

.map-directions-btn:hover {
    background: rgba(42, 111, 109, 0.18);
    border-color: var(--color-teal, #2a6f6d);
    transform: translateX(4px);
}

/* ==========================================================================
   INSTAGRAM PATIENT REEL VIDEO TESTIMONIALS
   ========================================================================== */
.insta-reel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.insta-reel-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    cursor: pointer;
}

.insta-reel-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 25px 55px rgba(225, 48, 108, 0.28);
}

.insta-reel-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
    transition: transform 0.6s ease, filter 0.6s ease;
}

.insta-reel-card:hover .insta-reel-thumb {
    transform: scale(1.06);
    filter: brightness(0.9);
}

.insta-reel-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.92) 100%);
    pointer-events: none;
}

.insta-reel-header {
    position: relative;
    z-index: 3;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.insta-user-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 650;
}

.insta-badge-pill {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.insta-icon-gradient {
    width: 22px;
    height: 22px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.75rem;
}

.insta-play-btn {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 25px rgba(225, 48, 108, 0.5);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    padding-left: 3px;
}

.insta-reel-card:hover .insta-play-btn {
    transform: translate(-50%, -50%) scale(1.18);
    box-shadow: 0 14px 32px rgba(225, 48, 108, 0.7);
}

.insta-reel-body {
    position: relative;
    z-index: 3;
    padding: 1.5rem;
    color: #ffffff;
}

.insta-patient-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #ffffff;
}

.insta-treatment-tag {
    font-size: 0.78rem;
    color: #fbbf24;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.insta-reel-quote {
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.85rem;
}

.insta-watch-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
}

.insta-reel-card:hover .insta-watch-link {
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(225, 48, 108, 0.5);
}

/* ==========================================================================
   REAL INSTAGRAM REELS CAROUSEL — v2
   ========================================================================== */

.reels-carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    padding: 0.5rem 0 0.5rem 0;
}

.reels-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0.75rem 0.25rem 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.reels-track::-webkit-scrollbar {
    display: none;
}

.reels-track.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

/* Nav Buttons */
.reels-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    color: #1f2937;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
    backdrop-filter: blur(8px);
}

.reels-nav-btn:hover {
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
    transform: translateY(-50%) scale(1.08);
}

.reels-nav-btn:active {
    transform: translateY(-50%) scale(0.96);
}

.reels-nav-prev {
    left: 0.25rem;
}

.reels-nav-next {
    right: 0.25rem;
}

.reels-nav-btn.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Individual Reel Card */
.insta-reel-card-v2 {
    flex: 0 0 200px;
    border-radius: 1rem;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    background: #111;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
        box-shadow 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    cursor: pointer;
}

.insta-reel-card-v2:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(240, 148, 51, 0.5);
}

/* Thumbnail Wrapper — portrait 9:16 */
.reel-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background: #0f0f0f;
}

/* Instagram gradient fallback */
.reel-gradient-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, #405de6 0%, #5851db 20%, #833ab4 45%, #c13584 65%, #e1306c 80%, #fd1d1d 92%, #f09433 100%);
    z-index: 1;
}

.reel-thumb-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    /* sits above gradient — becomes visible when loaded */
    opacity: 0;
    transition: opacity 0.5s ease;
}

.reel-thumb-img.loaded {
    opacity: 1;
    /* fades in over the gradient */
}

/* Dark overlay on hover */
.insta-reel-card-v2:hover .reel-thumb-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 3;
    transition: background 0.3s ease;
}

/* Play ring */
.reel-play-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    z-index: 10;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 2.5px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    padding-left: 3px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        background 0.3s ease,
        border-color 0.3s ease;
}

.insta-reel-card-v2:hover .reel-play-ring {
    transform: translate(-50%, -50%) scale(1);
    background: rgba(255, 255, 255, 0.28);
    border-color: #ffffff;
}

/* REEL badge */
.reel-badge-tag {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    z-index: 10;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

/* Card footer */
.reel-card-footer {
    padding: 0.55rem 0.65rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #111;
    flex-shrink: 0;
}

.reel-insta-handle {
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.reel-open-hint {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    white-space: nowrap;
}

/* Progress dots */
.reels-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.reels-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.18);
    transition: background 0.3s ease, width 0.3s ease;
    cursor: pointer;
    border: none;
    padding: 0;
}

.reels-dot.active {
    background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
    width: 20px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .insta-reel-card-v2 {
        flex: 0 0 155px;
    }

    .reels-nav-btn {
        display: none;
    }
}

@media (max-width: 480px) {
    .insta-reel-card-v2 {
        flex: 0 0 130px;
    }
}

/* ==========================================================================
   AUTHENTIC GOOGLE REVIEWS CAROUSEL WIDGET (Matching Target Screenshot)
   ========================================================================== */

.google-reviews-section {
    padding: 4.5rem 0;
    background-color: #f8fafc;
}

.google-reviews-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.gr-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.gr-overall-rating-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #ffffff;
    padding: 0.85rem 1.5rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.gr-rating-big {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.gr-stars-flex {
    display: flex;
    gap: 3px;
    color: #fbbc04;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.gr-rating-count {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 500;
}

/* Carousel Outer Container */
.google-reviews-carousel-wrap {
    position: relative;
    padding: 0 0.25rem;
}

/* Navigation Buttons */
.gr-carousel-nav {
    position: absolute;
    top: calc(50% - 15px);
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(30, 41, 59, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 0.95rem;
}

.gr-carousel-nav:hover {
    background: rgba(15, 23, 42, 0.92);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.gr-carousel-nav.gr-nav-prev {
    left: -18px;
}

.gr-carousel-nav.gr-nav-next {
    right: -18px;
}

.gr-carousel-nav.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Cards Track */
.google-reviews-track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.5rem 0.25rem 1.25rem 0.25rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.google-reviews-track::-webkit-scrollbar {
    display: none;
}

.google-reviews-track.dragging {
    scroll-behavior: auto;
    scroll-snap-type: none;
    cursor: grabbing;
    user-select: none;
}

/* Individual Review Card */
.google-review-card {
    flex: 0 0 310px;
    width: 310px;
    min-width: 310px;
    max-width: 310px;
    min-height: 240px;
    scroll-snap-align: start;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.4rem 1.4rem 1.35rem 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-sizing: border-box;
}

.google-review-card>div {
    width: 100%;
    box-sizing: border-box;
}

.gr-media-wrap {
    margin-top: auto;
    padding-top: 0.85rem;
    border-radius: 14px;
    overflow: hidden;
}

.google-review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

/* Author Header */
.gr-author-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.gr-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #ffffff;
    font-size: 0.95rem;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
}

.gr-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    display: block;
}

.gr-author-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.gr-author-name {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gr-verified-check {
    flex-shrink: 0;
}

.gr-subline {
    font-size: 0.78rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.1rem;
    white-space: nowrap;
}

.google-logo-text {
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: -0.02em;
}

/* Stars Row */
.gr-stars-row {
    display: flex;
    gap: 0.2rem;
    color: #fbbc04;
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

/* Review Text */
.gr-review-text {
    font-size: 0.91rem;
    color: #334155;
    line-height: 1.55;
    word-break: break-word;
    margin-bottom: 0.75rem;
}

.gr-read-more-btn {
    color: #1a73e8;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin-left: 0.25rem;
    display: inline;
}

.gr-read-more-btn:hover {
    text-decoration: underline;
}

/* Attached Media / Photos */
.gr-media-wrap {
    margin-top: 0.85rem;
    border-radius: 14px;
    overflow: hidden;
}

.gr-media-single {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.gr-media-double {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    height: 150px;
}

.gr-media-double img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Pagination Dots */
.gr-dots-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 1.25rem;
}

.gr-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.18);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    padding: 0;
}

.gr-dot.active {
    background: #1a73e8;
    width: 22px;
    border-radius: 6px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .google-review-card {
        flex: 0 0 calc(33.333% - 0.85rem);
    }
}

@media (max-width: 900px) {
    .google-review-card {
        flex: 0 0 calc(50% - 0.65rem);
    }

    .gr-carousel-nav.gr-nav-prev {
        left: -10px;
    }

    .gr-carousel-nav.gr-nav-next {
        right: -10px;
    }
}

@media (max-width: 600px) {
    .google-review-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .gr-carousel-nav {
        display: none;
    }
}

/* ==========================================================================
   CLINICAL SURGERY & OPERATORY GALLERY SECTION
   ========================================================================== */
.clinical-gallery-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #FAF9F6 0%, #F1F5F9 100%);
    position: relative;
    overflow: hidden;
}

.clinical-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem;
    margin-top: 2.5rem;
}

@media (max-width: 1024px) {
    .clinical-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .clinical-gallery-grid {
        grid-template-columns: 1fr;
    }
}

.clinical-gallery-card {
    background: #ffffff;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(42, 111, 109, 0.15);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.clinical-gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(42, 111, 109, 0.2);
    border-color: var(--color-teal, #2A6F6D);
}

.clinical-gallery-img-wrap {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #0f172a;
}

.clinical-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.clinical-gallery-card:hover .clinical-gallery-img {
    transform: scale(1.06);
}

.clinical-gallery-zoom-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.clinical-gallery-card:hover .clinical-gallery-zoom-overlay {
    opacity: 1;
}

.gallery-zoom-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-indigo, #1E293B);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.clinical-gallery-card:hover .gallery-zoom-icon {
    transform: scale(1);
}

.clinical-gallery-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.clinical-gallery-tag {
    font-size: 0.75rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-teal, #2A6F6D);
    margin-bottom: 0.4rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.clinical-gallery-title {
    font-size: 1.15rem;
    font-weight: 750;
    color: #1e293b;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.clinical-gallery-desc {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.clinical-gallery-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.clinical-gallery-pill {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    background: rgba(42, 111, 109, 0.08);
    color: #2A6F6D;
    border: 1px solid rgba(42, 111, 109, 0.12);
}

/* Lightbox Modal */
.image-lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.image-lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.image-lightbox-container {
    max-width: 900px;
    width: 100%;
    background: #ffffff;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.image-lightbox-modal.active .image-lightbox-container {
    transform: scale(1);
}

.image-lightbox-img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    display: block;
}

.image-lightbox-caption {
    padding: 1.5rem 2rem;
    background: #ffffff;
}

.image-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(15, 23, 42, 0.7);
    color: #ffffff;
    border-radius: 50%;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 10;
}

.image-lightbox-close:hover {
    background: rgba(220, 38, 38, 0.9);
}

/* ==========================================================================
   MODERN SURGICAL EXPERTISE CARDS UI
   ========================================================================== */
.surgical-expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.surgical-card {
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.16);
    border-radius: 20px;
    padding: 2.25rem;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.surgical-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2A6F6D, #d4af37, #2A6F6D);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.surgical-card:hover {
    transform: translateY(-8px);
    border-color: rgba(42, 111, 109, 0.4);
    box-shadow: 0 20px 40px rgba(42, 111, 109, 0.14);
}

.surgical-card:hover::before {
    opacity: 1;
}

.surgical-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.surgical-card-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(42, 111, 109, 0.12), rgba(212, 175, 55, 0.12));
    color: #2A6F6D;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: transform 0.35s ease, background 0.35s ease;
}

.surgical-card:hover .surgical-card-icon-wrap {
    transform: scale(1.08) rotate(3deg);
    background: #2A6F6D;
    color: #ffffff;
}

.surgical-category-tag {
    font-size: 0.72rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    background: rgba(42, 111, 109, 0.08);
    color: #2A6F6D;
    border: 1px solid rgba(42, 111, 109, 0.15);
}

.surgical-card-title {
    font-size: 1.32rem;
    font-weight: 750;
    color: var(--color-indigo, #1e293b);
    margin: 0 0 0.65rem 0;
    line-height: 1.3;
    font-family: 'Playfair Display', Georgia, serif;
}

.surgical-card-desc {
    font-size: 0.94rem;
    line-height: 1.7;
    color: #475569;
    margin: 0 0 1.25rem 0;
}

.surgical-highlights-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: grid;
    gap: 0.65rem;
}

.surgical-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #334155;
}

.surgical-highlight-item i,
.surgical-highlight-item svg {
    color: #2A6F6D;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.surgical-metrics-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: auto;
}

.surgical-metric-badge {
    font-size: 0.76rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border-radius: 8px;
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.surgical-metric-badge strong {
    color: var(--color-indigo, #1e293b);
}

@media (max-width: 768px) {
    .surgical-expertise-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .surgical-card {
        padding: 1.65rem;
    }
}

/* ==========================================================================
   ULTRA-PREMIUM PHACOEMULSIFICATION (MICS) & PREMIUM IOLS UI
   ========================================================================== */
.phaco-premium-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #edf7f6 35%, #f1f8f7 70%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.phaco-premium-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(42, 111, 109, 0.08) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.phaco-premium-section::after {
    content: '';
    position: absolute;
    bottom: 5%;
    right: 15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
    filter: blur(50px);
    pointer-events: none;
}

.phaco-premium-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.15rem;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(42, 111, 109, 0.12), rgba(212, 175, 55, 0.15));
    border: 1px solid rgba(42, 111, 109, 0.25);
    color: #2A6F6D;
    font-size: 0.8rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(42, 111, 109, 0.08);
}

/* 1. Hero Showcase Container */
.phaco-hero-showcase {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.2);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.06);
    margin-bottom: 3.5rem;
    position: relative;
}

.phaco-hero-showcase::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 25px;
    background: linear-gradient(135deg, rgba(42, 111, 109, 0.4), rgba(212, 175, 55, 0.3), transparent);
    z-index: -1;
    pointer-events: none;
}

.phaco-hero-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--color-indigo, #1e293b);
    line-height: 1.25;
    margin-bottom: 1.25rem;
    font-family: 'Playfair Display', Georgia, serif;
}

.phaco-hero-lead {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #475569;
    margin-bottom: 1.75rem;
}

.phaco-pillars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.phaco-pillar-box {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
}

.phaco-pillar-box:hover {
    background: rgba(42, 111, 109, 0.05);
    border-color: rgba(42, 111, 109, 0.3);
    transform: translateY(-2px);
}

.phaco-pillar-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #2A6F6D;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.phaco-pillar-title {
    font-size: 0.9rem;
    font-weight: 750;
    color: var(--color-indigo, #1e293b);
    margin: 0 0 0.15rem 0;
}

.phaco-pillar-desc {
    font-size: 0.78rem;
    color: #64748b;
    margin: 0;
    line-height: 1.35;
}

.phaco-media-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.phaco-media-img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    max-height: 440px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.phaco-media-wrapper:hover .phaco-media-img {
    transform: scale(1.04);
}

.phaco-floating-badge {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.phaco-floating-badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2A6F6D, #d4af37);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

/* 2. 4-Step Surgical Journey Timeline */
.phaco-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3.5rem;
    position: relative;
}

.phaco-step-card {
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.16);
    border-radius: 18px;
    padding: 1.85rem 1.5rem;
    position: relative;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.phaco-step-card:hover {
    transform: translateY(-6px);
    border-color: rgba(42, 111, 109, 0.4);
    box-shadow: 0 16px 36px rgba(42, 111, 109, 0.12);
}

.phaco-step-num {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(42, 111, 109, 0.18);
    font-family: 'Inter', sans-serif;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.phaco-step-card:hover .phaco-step-num {
    color: #2A6F6D;
}

.phaco-step-title {
    font-size: 1.12rem;
    font-weight: 750;
    color: var(--color-indigo, #1e293b);
    margin: 0 0 0.65rem 0;
    line-height: 1.35;
}

.phaco-step-desc {
    font-size: 0.88rem;
    line-height: 1.65;
    color: #475569;
    margin: 0;
}

/* 3. Premium IOL Selection 4-Card Portfolio */
.phaco-iol-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    margin-bottom: 3.5rem;
}

.phaco-iol-card {
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.18);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
}

.phaco-iol-card.featured-lux {
    border-color: rgba(212, 175, 55, 0.45);
    background: linear-gradient(180deg, #ffffff 0%, rgba(212, 175, 55, 0.03) 100%);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.1);
}

.phaco-iol-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(42, 111, 109, 0.14);
}

.phaco-iol-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.7rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    background: rgba(42, 111, 109, 0.08);
    color: #2A6F6D;
}

.phaco-iol-card.featured-lux .phaco-iol-badge {
    background: rgba(212, 175, 55, 0.15);
    color: #b45309;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.phaco-iol-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(42, 111, 109, 0.12), rgba(212, 175, 55, 0.12));
    color: #2A6F6D;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}

.phaco-iol-card.featured-lux .phaco-iol-icon {
    background: #d4af37;
    color: #ffffff;
}

.phaco-iol-name {
    font-size: 1.25rem;
    font-weight: 750;
    color: var(--color-indigo, #1e293b);
    margin: 0 0 0.4rem 0;
    font-family: 'Playfair Display', Georgia, serif;
}

.phaco-iol-target {
    font-size: 0.82rem;
    font-weight: 600;
    color: #2A6F6D;
    margin-bottom: 0.85rem;
}

.phaco-iol-desc {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #475569;
    margin-bottom: 1.25rem;
}

.phaco-iol-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.55rem;
    font-size: 0.85rem;
    color: #334155;
}

.phaco-iol-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
}

.phaco-iol-features li i,
.phaco-iol-features li svg {
    color: #2A6F6D;
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* 4. Comparison Matrix Table */
.phaco-matrix-card {
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.2);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    margin-bottom: 3.5rem;
}

.phaco-matrix-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.94rem;
}

.phaco-matrix-table th {
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-weight: 750;
    font-size: 0.95rem;
}

.phaco-matrix-table th.col-feature {
    background: #f8fafc;
    color: #475569;
    width: 28%;
}

.phaco-matrix-table th.col-traditional {
    background: #fef2f2;
    color: #991b1b;
    width: 36%;
}

.phaco-matrix-table th.col-shalini {
    background: #2A6F6D;
    color: #ffffff;
    width: 36%;
}

.phaco-matrix-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.phaco-matrix-table tr:last-child td {
    border-bottom: none;
}

.phaco-matrix-table td.col-feature {
    font-weight: 700;
    color: var(--color-indigo, #1e293b);
    background: #fafbfc;
}

.phaco-matrix-table td.col-traditional {
    color: #64748b;
    background: rgba(254, 242, 242, 0.3);
}

.phaco-matrix-table td.col-shalini {
    font-weight: 600;
    color: #0f766e;
    background: rgba(42, 111, 109, 0.04);
}

/* 5. Luxury Call to Action Banner */
.phaco-cta-lux {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1.5px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 2.75rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
    position: relative;
    overflow: hidden;
}

.phaco-cta-lux::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(42, 111, 109, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.phaco-cta-title {
    color: #ffffff;
    font-size: 1.65rem;
    font-weight: 750;
    margin: 0 0 0.5rem 0;
    font-family: 'Playfair Display', Georgia, serif;
}

.phaco-cta-desc {
    color: #cbd5e1;
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0;
    max-width: 620px;
}

.phaco-cta-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .phaco-hero-showcase {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .phaco-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .phaco-steps-grid {
        grid-template-columns: 1fr;
    }

    .phaco-pillars-grid {
        grid-template-columns: 1fr;
    }

    .phaco-cta-lux {
        padding: 1.75rem;
    }
}

/* ==========================================================================
   ULTRA-PREMIUM ABOUT SPECIALIST (CLINICAL EXCELLENCE) UI
   ========================================================================== */
.about-lux-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 40%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.about-lux-section::before {
    content: '';
    position: absolute;
    top: 5%;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(42, 111, 109, 0.06) 0%, transparent 70%);
    filter: blur(50px);
    pointer-events: none;
}

.about-motto-lux {
    background: linear-gradient(135deg, rgba(42, 111, 109, 0.08) 0%, rgba(212, 175, 55, 0.06) 50%, rgba(42, 111, 109, 0.04) 100%);
    border: 1.5px solid rgba(42, 111, 109, 0.22);
    border-radius: 20px;
    padding: 2.25rem 2.5rem;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(42, 111, 109, 0.06);
    margin-bottom: 2.75rem;
    overflow: hidden;
}

.about-motto-lux::before {
    content: '“';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 8rem;
    color: rgba(42, 111, 109, 0.07);
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.about-motto-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #2A6F6D;
    padding: 0.3rem 0.85rem;
    background: rgba(42, 111, 109, 0.1);
    border-radius: 50px;
    margin-bottom: 0.85rem;
}

.about-motto-quote {
    font-size: 1.65rem;
    color: var(--color-indigo, #1e293b);
    margin: 0 0 0.65rem 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 750;
    line-height: 1.35;
}

.about-motto-text {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #475569;
    margin: 0 auto;
    max-width: 800px;
}

/* Vision & Mission Dual Cards */
.about-vis-mis-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    margin-bottom: 3rem;
}

.about-vm-card {
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.18);
    border-radius: 18px;
    padding: 2.25rem;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
    position: relative;
    transition: all 0.35s ease;
}

.about-vm-card:hover {
    transform: translateY(-6px);
    border-color: rgba(42, 111, 109, 0.4);
    box-shadow: 0 16px 36px rgba(42, 111, 109, 0.12);
}

.about-vm-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.15rem;
}

.about-vm-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.about-vm-icon.teal {
    background: rgba(42, 111, 109, 0.12);
    color: #2A6F6D;
}

.about-vm-icon.gold {
    background: rgba(212, 175, 55, 0.14);
    color: #b45309;
}

.about-vm-title {
    font-size: 1.28rem;
    font-weight: 750;
    color: var(--color-indigo, #1e293b);
    margin: 0;
    font-family: 'Playfair Display', Georgia, serif;
}

.about-vm-tag {
    font-size: 0.72rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
}

.about-vm-tag.teal {
    color: #2A6F6D;
}

.about-vm-tag.gold {
    color: #b45309;
}

.about-vm-text {
    font-size: 0.96rem;
    line-height: 1.75;
    color: #475569;
    margin: 0;
}

/* Editorial Bio Section */
.about-editorial-box {
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.16);
    border-radius: 20px;
    padding: 2.75rem 3rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    margin-bottom: 3rem;
}

.about-editorial-lead {
    font-size: 1.18rem;
    line-height: 1.8;
    color: var(--color-indigo, #1e293b);
    font-weight: 600;
    margin-bottom: 1.5rem;
    border-left: 4px solid #2A6F6D;
    padding-left: 1.25rem;
}

.about-editorial-p {
    font-size: 1.02rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1.35rem;
}

.about-editorial-p:last-of-type {
    margin-bottom: 2rem;
}

/* 3 Core Pillars of Care Grid */
.about-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 1.75rem;
    margin-bottom: 3.5rem;
}

.about-pillar-card {
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.16);
    border-radius: 18px;
    padding: 2.25rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    transition: all 0.35s ease;
}

.about-pillar-card:hover {
    transform: translateY(-6px);
    border-color: rgba(42, 111, 109, 0.38);
    box-shadow: 0 16px 36px rgba(42, 111, 109, 0.1);
}

.about-pillar-top {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.about-pillar-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(42, 111, 109, 0.12), rgba(212, 175, 55, 0.12));
    color: #2A6F6D;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.about-pillar-title {
    font-size: 1.2rem;
    font-weight: 750;
    color: var(--color-indigo, #1e293b);
    margin: 0;
    line-height: 1.35;
}

.about-pillar-desc {
    font-size: 0.94rem;
    line-height: 1.75;
    color: #475569;
    margin: 0 0 1.25rem 0;
}

.about-pillar-bullets {
    list-style: none;
    padding: 0;
    margin: auto 0 0 0;
    display: grid;
    gap: 0.55rem;
    font-size: 0.88rem;
    color: #334155;
}

.about-pillar-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.about-pillar-bullets li i,
.about-pillar-bullets li svg {
    color: #2A6F6D;
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-top: 3px;
}

/* Full Width Diagnostic Banner */
.about-showcase-lux {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.2);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.06);
    margin-top: 3.5rem;
}

.about-showcase-media {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.about-showcase-img {
    width: 100%;
    min-height: 360px;
    max-height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-showcase-media:hover .about-showcase-img {
    transform: scale(1.04);
}

.about-showcase-badge {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 0.9rem 1.15rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

@media (max-width: 992px) {
    .about-vis-mis-grid {
        grid-template-columns: 1fr;
    }

    .about-showcase-lux {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .about-editorial-box {
        padding: 2rem;
    }
}

/* ==========================================================================
   CLEAN & ELEGANT FOLDABLE INTRAOCULAR LENSES (IOL) SECTION
   ========================================================================== */
.iol-clean-container {
    margin-bottom: 3.5rem;
}

.iol-clean-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.iol-clean-card {
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.16);
    border-radius: 18px;
    padding: 2rem 1.6rem;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.iol-clean-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(42, 111, 109, 0.12);
    border-color: var(--color-teal, #2A6F6D);
}

.iol-clean-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.iol-clean-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(42, 111, 109, 0.1);
    color: var(--color-teal, #2A6F6D);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.iol-clean-card.featured-gold .iol-clean-icon {
    background: rgba(212, 175, 55, 0.15);
    color: #b45309;
}

.iol-clean-card.featured-gold {
    border-color: rgba(212, 175, 55, 0.35);
}

.iol-clean-card.featured-gold:hover {
    border-color: #d4af37;
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.18);
}

.iol-clean-tag {
    font-size: 0.72rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    background: #f1f5f9;
    color: #475569;
}

.iol-clean-card.featured-gold .iol-clean-tag {
    background: rgba(212, 175, 55, 0.15);
    color: #92400e;
    font-weight: 800;
}

.iol-clean-title {
    font-size: 1.25rem;
    font-weight: 750;
    color: var(--color-indigo, #1e293b);
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.iol-clean-target {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-teal, #2A6F6D);
    margin-bottom: 0.75rem;
    display: block;
}

.iol-clean-card.featured-gold .iol-clean-target {
    color: #b45309;
}

.iol-clean-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 1.25rem;
}

.iol-clean-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
    display: grid;
    gap: 0.5rem;
    font-size: 0.84rem;
    color: #334155;
}

.iol-clean-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.4;
}

.iol-clean-list li i,
.iol-clean-list li svg {
    color: var(--color-teal, #2A6F6D);
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-top: 2px;
}

.iol-clean-card.featured-gold .iol-clean-list li i,
.iol-clean-card.featured-gold .iol-clean-list li svg {
    color: #d4af37;
}

.iol-clean-footer {
    padding-top: 0.85rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: auto;
}

.iol-clean-pill {
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.iol-clean-card.featured-gold .iol-clean-pill {
    background: rgba(212, 175, 55, 0.1);
    color: #92400e;
    border-color: rgba(212, 175, 55, 0.25);
}

.iol-clean-assurance {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2.25rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #fbfdfd 100%);
    border: 1.5px solid rgba(42, 111, 109, 0.18);
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease;
}

.iol-clean-assurance:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    border-color: rgba(42, 111, 109, 0.32);
}

.iol-clean-assurance-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: #f8fafc;
    border: 1.5px solid rgba(42, 111, 109, 0.12);
    font-size: 0.86rem;
    font-weight: 750;
    color: #1e293b;
    cursor: pointer;
    text-align: left;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.3s ease,
                border-color 0.3s ease;
}

.iol-clean-assurance-item:hover {
    transform: translateY(-5px) scale(1.02);
    background: #ffffff;
    border-color: #2a6f6d;
    box-shadow: 0 12px 28px rgba(42, 111, 109, 0.18);
}

.iol-clean-assurance-item .assurance-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(42, 111, 109, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-teal, #2A6F6D);
    flex-shrink: 0;
    font-size: 0.95rem;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.iol-clean-assurance-item:hover .assurance-icon-box {
    transform: scale(1.15) rotate(10deg);
    background: #2a6f6d;
    color: #ffffff;
}

.iol-clean-assurance-item .assurance-icon-box i,
.iol-clean-assurance-item .assurance-icon-box svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 1100px) {
    .iol-clean-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .iol-clean-assurance {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .iol-clean-grid {
        grid-template-columns: 1fr;
    }

    .iol-clean-assurance {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 0.75rem;
    }

    .iol-clean-assurance-item {
        justify-content: flex-start;
        padding: 0.75rem 1rem;
    }

    .iol-clean-card {
        padding: 1.5rem;
    }
}

/* ==========================================================================
   SHALINI EYE HOSPITAL OPENING SOON - LUXURY ELLIPSE BADGE
   ========================================================================== */
.hospital-opening-ellipse-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto 3rem auto;
    position: relative;
    z-index: 10;
}

.hospital-opening-ellipse {
    position: relative;
    max-width: 520px;
    width: 100%;
    padding: 2.25rem 3.5rem;
    border-radius: 120px; /* Distinct Ellipse Silhouette */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, #f0fdfa 45%, #fdfbf7 100%);
    border: 2px solid rgba(42, 111, 109, 0.3);
    box-shadow: 0 20px 45px -10px rgba(42, 111, 109, 0.16),
                0 0 30px 2px rgba(42, 111, 109, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.95),
                inset 0 -2px 6px rgba(42, 111, 109, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transform: scale(0.55) translateY(50px);
    filter: blur(8px);
    transition: opacity 0.85s cubic-bezier(0.34, 1.56, 0.64, 1),
                transform 0.85s cubic-bezier(0.34, 1.56, 0.64, 1),
                filter 0.65s ease,
                box-shadow 0.4s ease,
                border-color 0.4s ease;
    overflow: hidden;
    will-change: transform, opacity;
}

.hospital-opening-ellipse.ellipse-popped {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
    box-shadow: 0 25px 60px -10px rgba(42, 111, 109, 0.28),
                0 0 45px 6px rgba(42, 111, 109, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(42, 111, 109, 0.45);
}

.hospital-opening-ellipse.ellipse-popped .ellipse-launch-badge {
    animation: ellipseLaunchBadgePop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

@keyframes ellipseLaunchBadgePop {
    0% {
        transform: scale(0.7);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.hospital-opening-ellipse:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--color-teal, #2A6F6D);
    box-shadow: 0 25px 55px -10px rgba(42, 111, 109, 0.25),
                0 0 40px 6px rgba(42, 111, 109, 0.14),
                inset 0 1px 0 rgba(255, 255, 255, 1);
}

.ellipse-ambient-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(42, 111, 109, 0.08) 0%, rgba(212, 175, 55, 0.04) 40%, transparent 70%);
    pointer-events: none;
    animation: rotateEllipseGlow 15s linear infinite;
}

.ellipse-inner-ring {
    position: absolute;
    inset: 6px;
    border-radius: 114px;
    border: 1px dashed rgba(42, 111, 109, 0.22);
    pointer-events: none;
}

.ellipse-badge-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
}

.ellipse-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(42, 111, 109, 0.08);
    border: 1px solid rgba(42, 111, 109, 0.2);
    padding: 0.25rem 0.85rem;
    border-radius: 50px;
}

.ellipse-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: ellipsePulse 2s infinite;
}

@keyframes ellipsePulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.ellipse-status-label {
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-teal, #2A6F6D);
}

.ellipse-hospital-name {
    font-family: var(--font-serif, "Playfair Display", Georgia, serif);
    font-size: 1.85rem;
    font-weight: 750;
    color: var(--color-indigo, #1F2937);
    margin: 0.1rem 0 0.15rem 0;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.ellipse-launch-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--color-teal, #2A6F6D) 0%, #1e5250 100%);
    color: #ffffff;
    padding: 0.4rem 1.4rem;
    border-radius: 50px;
    box-shadow: 0 6px 18px -2px rgba(42, 111, 109, 0.35);
    margin-top: 0.2rem;
}

.launch-sparkle {
    width: 14px;
    height: 14px;
    color: #fde047;
}

.launch-text {
    font-size: 0.82rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ellipse-subtext {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 500;
    margin-top: 0.25rem;
    margin-bottom: 0;
}

@keyframes rotateEllipseGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 640px) {
    .hospital-opening-ellipse {
        padding: 1.85rem 1.5rem;
        border-radius: 70px;
    }
    .ellipse-inner-ring {
        border-radius: 64px;
    }
    .ellipse-hospital-name {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   ABOUT SECTION: GUIDING PRINCIPLE, VISION & MISSION LUXURY CARDS
   ========================================================================== */
.about-motto-lux {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 253, 250, 0.85) 100%);
    border: 1.5px solid rgba(42, 111, 109, 0.2);
    border-radius: 20px;
    padding: 2.25rem 2.5rem;
    box-shadow: 0 14px 35px rgba(42, 111, 109, 0.08);
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
}

.about-motto-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-teal, #2A6F6D);
    background: rgba(42, 111, 109, 0.08);
    padding: 0.35rem 0.95rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.about-motto-quote {
    font-family: var(--font-serif, "Playfair Display", Georgia, serif);
    font-size: 1.65rem;
    font-weight: 750;
    color: var(--color-indigo, #1F2937);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.about-motto-text {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 0;
}

.about-vis-mis-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    margin-bottom: 3rem;
    width: 100%;
}

.about-vm-card {
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.16);
    border-radius: 20px;
    padding: 2rem 2.25rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.about-vm-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.about-vm-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.about-vm-icon.teal {
    background: rgba(42, 111, 109, 0.1);
    color: var(--color-teal, #2A6F6D);
}

.about-vm-icon.gold {
    background: rgba(212, 175, 55, 0.14);
    color: #b45309;
}

.about-vm-icon i,
.about-vm-icon svg {
    width: 24px;
    height: 24px;
}

.about-vm-tag {
    display: block;
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.about-vm-tag.teal {
    color: var(--color-teal, #2A6F6D);
}

.about-vm-tag.gold {
    color: #b45309;
}

.about-vm-title {
    font-family: var(--font-serif, "Playfair Display", Georgia, serif);
    font-size: 1.4rem;
    font-weight: 750;
    color: var(--color-indigo, #1F2937);
    margin: 0;
    line-height: 1.2;
}

.about-vm-text {
    font-size: 0.96rem;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .about-vis-mis-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .about-motto-lux {
        padding: 1.75rem 1.5rem;
    }
    .about-vm-card {
        padding: 1.75rem 1.5rem;
    }
}

/* ==========================================================================
   RANDOMIZED DYNAMIC SLIDING CARDS (MOTTO, VISION & MISSION)
   ========================================================================== */
.random-slide-card {
    opacity: 0;
    filter: blur(6px);
    transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s ease,
                border-color 0.35s ease,
                background-color 0.35s ease;
    will-change: transform, opacity;
}

/* Direction Variants */
.random-slide-card.slide-variant-left {
    transform: translateX(-140px) rotate(-3deg);
}

.random-slide-card.slide-variant-right {
    transform: translateX(140px) rotate(3deg);
}

.random-slide-card.slide-variant-bottom-left {
    transform: translate(-100px, 80px) rotate(-2deg);
}

.random-slide-card.slide-variant-bottom-right {
    transform: translate(100px, 80px) rotate(2deg);
}

.random-slide-card.slide-variant-top-left {
    transform: translate(-90px, -70px) rotate(-1.5deg);
}

.random-slide-card.slide-variant-top-right {
    transform: translate(90px, -70px) rotate(1.5deg);
}

.random-slide-card.slide-variant-bottom {
    transform: translateY(90px) scale(0.92);
}

/* Active state when scrolled into view */
.random-slide-card.slide-active {
    opacity: 1 !important;
    transform: translate(0, 0) rotate(0deg) scale(1) !important;
    filter: blur(0) !important;
}
/* ==========================================================================
   SIGNATURE TREATMENTS FLOATING PILLS & DYNAMIC SLIDING ENTRANCE
   ========================================================================== */
.signature-pill-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem 1.5rem;
    max-width: 1050px;
    margin: 3rem auto 0 auto;
    overflow: visible;
}

.signature-floating-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.85rem 1.85rem;
    border-radius: 50px;
    background: #ffffff;
    color: #1e293b;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    border: 1.5px solid rgba(42, 111, 109, 0.16);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
    cursor: pointer;
    white-space: nowrap;
    opacity: 0;
    filter: blur(6px);
    transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.3s ease,
                color 0.3s ease,
                box-shadow 0.3s ease,
                border-color 0.3s ease;
    will-change: transform, opacity;
}

/* Left & Right Slide Variants */
.signature-floating-pill.pill-slide-left {
    transform: translateX(-160px) rotate(-4deg);
}

.signature-floating-pill.pill-slide-right {
    transform: translateX(160px) rotate(4deg);
}

.signature-floating-pill.pill-slide-far-left {
    transform: translateX(-240px) rotate(-6deg);
}

.signature-floating-pill.pill-slide-far-right {
    transform: translateX(240px) rotate(6deg);
}

.signature-floating-pill.pill-slide-top-left {
    transform: translate(-140px, -60px) rotate(-3deg);
}

.signature-floating-pill.pill-slide-top-right {
    transform: translate(140px, -60px) rotate(3deg);
}

/* Revealed Active State */
.signature-floating-pill.pill-revealed {
    opacity: 1 !important;
    transform: translate(0, 0) rotate(0deg) scale(1) !important;
    filter: blur(0) !important;
}

/* Hover State */
.signature-floating-pill:hover {
    transform: translateY(-6px) scale(1.05) !important;
    background: linear-gradient(135deg, #2A6F6D 0%, #1e5250 100%) !important;
    color: #ffffff !important;
    border-color: #2A6F6D !important;
    box-shadow: 0 16px 36px rgba(42, 111, 109, 0.32) !important;
}

/* ==========================================================================
   GLOBAL INTERACTIVE HOVER SUITE (CARDS & SPANS)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. EVERY CARD HOVER EFFECTS
   -------------------------------------------------------------------------- */

/* Universal Card Smooth Transitions */
.stat-item,
.floating-badge-card,
.hospital-opening-ellipse,
.about-motto-lux,
.about-vm-card,
.about-editorial-box,
.about-pillar-card,
.milestones-card-wrapper,
.awards-card-wrapper,
.timeline-content-card,
.award-card,
.about-showcase-lux,
.surgical-card,
.phaco-pillar-box,
.phaco-step-card,
.iol-clean-card,
.service-suite-card,
.stat-card,
.book-card,
.publication-item-card,
.clinical-gallery-card,
.insta-reel-card,
.faq-accordion-item,
.location-card-free,
.clinic-about-card,
.booking-spacious-card,
.contact-quick-card,
.clinic-contact-item {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease,
                background-color 0.3s ease !important;
}

/* Hero Quick Stats Item */
.hero-quick-stats .stat-item {
    cursor: pointer;
    border-radius: 16px;
    padding: 0.85rem 1rem;
    border: 1.5px solid transparent;
}
.hero-quick-stats .stat-item:hover {
    transform: translateY(-5px) scale(1.03);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

/* Hero Floating Badge Card */
.floating-badge-card:hover {
    transform: translateY(-6px) rotate(1deg) scale(1.02);
    box-shadow: 0 20px 45px rgba(42, 111, 109, 0.25);
    border-color: rgba(42, 111, 109, 0.35);
}

/* Grand Launch Announcement Ellipse */
.hospital-opening-ellipse:hover {
    transform: scale(1.02);
    box-shadow: 0 24px 60px rgba(42, 111, 109, 0.22);
    border-color: rgba(42, 111, 109, 0.35);
}
.hospital-opening-ellipse:hover .launch-sparkle {
    transform: rotate(45deg) scale(1.2);
    transition: transform 0.3s ease;
}

/* About Motto Luxury Banner */
.about-motto-lux:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    border-color: rgba(42, 111, 109, 0.35);
}

/* Vision & Mission Dual Cards */
.about-vm-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 22px 50px rgba(42, 111, 109, 0.16);
    border-color: rgba(42, 111, 109, 0.4);
}
.about-vm-card:hover .about-vm-icon {
    transform: scale(1.1) rotate(5deg);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Doctor Bio Editorial Box */
.about-editorial-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    border-color: rgba(42, 111, 109, 0.3);
}

/* Core Clinical Pillars */
.about-pillar-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 22px 50px rgba(42, 111, 109, 0.16);
    border-color: rgba(42, 111, 109, 0.38);
}
.about-pillar-card:hover .about-pillar-icon-box {
    transform: scale(1.12) rotate(-5deg);
    background: #2a6f6d;
    color: #ffffff;
    transition: all 0.3s ease;
}

/* Academic Milestones & Awards Wrappers */
.milestones-card-wrapper:hover,
.awards-card-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08) !important;
    border-color: rgba(42, 111, 109, 0.32) !important;
}

/* Timeline Content Card */
.timeline-content-card:hover {
    transform: translateX(4px);
    box-shadow: 0 10px 25px rgba(42, 111, 109, 0.1);
    border-color: rgba(42, 111, 109, 0.35);
}

/* Clinical Honors Award Cards */
.award-card:hover {
    transform: translateX(5px) scale(1.01);
    box-shadow: 0 12px 30px rgba(42, 111, 109, 0.12);
    border-color: rgba(42, 111, 109, 0.35);
    background: #ffffff;
}
.award-card:hover .award-icon-box {
    transform: scale(1.2);
    transition: transform 0.25s ease;
}

/* Diagnostic Slit-Lamp Showcase Media Box */
.about-showcase-lux:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.1);
    border-color: rgba(42, 111, 109, 0.32);
}
.about-showcase-lux:hover .about-showcase-img {
    transform: scale(1.03);
    transition: transform 0.5s ease;
}

/* Surgical Expertise Cards (6 Surgeries) */
.surgical-card:hover {
    transform: translateY(-7px) scale(1.015);
    box-shadow: 0 24px 55px rgba(42, 111, 109, 0.18);
    border-color: rgba(42, 111, 109, 0.4);
}
.surgical-card:hover .surgical-card-icon-wrap {
    transform: scale(1.12) rotate(6deg);
    background: #2a6f6d;
    color: #ffffff;
    transition: all 0.3s ease;
}

/* Phaco Pillars & Step Cards */
.phaco-pillar-box:hover,
.phaco-step-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 45px rgba(42, 111, 109, 0.16);
    border-color: rgba(42, 111, 109, 0.38);
}
.phaco-pillar-box:hover .phaco-pillar-icon {
    transform: scale(1.12);
    background: #2a6f6d;
    color: #ffffff;
    transition: all 0.3s ease;
}

/* Premium IOL Lens Cards */
.iol-clean-card:hover {
    transform: translateY(-7px) scale(1.015);
    box-shadow: 0 24px 55px rgba(42, 111, 109, 0.18);
    border-color: rgba(42, 111, 109, 0.42);
}
.iol-clean-card.featured-gold:hover {
    box-shadow: 0 24px 55px rgba(212, 175, 55, 0.28);
    border-color: rgba(212, 175, 55, 0.6);
}

/* Specialized Services Suite Cards */
.service-suite-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 18px 40px rgba(42, 111, 109, 0.14);
    border-color: rgba(42, 111, 109, 0.35);
}

/* Stats Counter Cards */
.stat-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 45px rgba(42, 111, 109, 0.16);
    border-color: rgba(42, 111, 109, 0.35);
}

/* Key Surgical Achievement Book Card */
.book-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 25px 60px rgba(42, 111, 109, 0.2);
    border-color: rgba(42, 111, 109, 0.38);
}
.book-card:hover .book-card-watermark {
    transform: scale(1.1) rotate(-8deg);
    opacity: 0.12;
    transition: all 0.4s ease;
}

/* Research & Outreach Item Cards */
.publication-item-card:hover {
    transform: translateX(6px) scale(1.01);
    box-shadow: 0 14px 35px rgba(42, 111, 109, 0.12);
    border-color: rgba(42, 111, 109, 0.35);
}
.publication-item-card:hover .pub-icon-box {
    transform: scale(1.15) rotate(5deg);
    transition: transform 0.3s ease;
}

/* Clinical Gallery Photo Cards */
.clinical-gallery-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.14);
    border-color: rgba(42, 111, 109, 0.35);
}
.clinical-gallery-card:hover .clinical-gallery-img {
    transform: scale(1.06);
    transition: transform 0.5s ease;
}

/* Instagram Video Reel Cards */
.insta-reel-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 24px 55px rgba(42, 111, 109, 0.2);
    border-color: rgba(42, 111, 109, 0.4);
}
.insta-reel-card:hover .reel-play-btn {
    transform: translate(-50%, -50%) scale(1.15);
    background: #ffffff;
    color: #2a6f6d;
    transition: all 0.3s ease;
}

/* FAQ Accordion Items */
.faq-accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(42, 111, 109, 0.08);
    border-color: rgba(42, 111, 109, 0.32);
}

/* Left Card: About Clinic */
.clinic-about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.1);
    border-color: rgba(42, 111, 109, 0.35);
}
.clinic-feature-item:hover .clinic-feature-icon {
    transform: scale(1.12) rotate(4deg);
    background: #2a6f6d;
    color: #ffffff;
    transition: all 0.25s ease;
}

/* Right Card: Book Appointment */
.booking-spacious-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 70px -10px rgba(27, 79, 77, 0.55);
    border-color: rgba(255, 255, 255, 0.28);
}

/* Contact Quick Cards */
.contact-quick-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 18px 40px rgba(42, 111, 109, 0.16);
    border-color: rgba(42, 111, 109, 0.35);
}
.contact-quick-card:hover .quick-icon-circle {
    transform: scale(1.12);
    box-shadow: 0 6px 18px rgba(42, 111, 109, 0.3);
    transition: all 0.25s ease;
}

/* Clinic Contact Items */
.clinic-contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(42, 111, 109, 0.12);
    border-color: rgba(42, 111, 109, 0.35);
    background: #ffffff;
}
.clinic-contact-item:hover i {
    transform: scale(1.15);
    transition: transform 0.25s ease;
}


/* --------------------------------------------------------------------------
   2. EVERY SPAN / BADGE / TAG / CHIP HOVER EFFECTS
   -------------------------------------------------------------------------- */

/* Universal Span / Tag / Badge Micro-Interactions */
.badge-promo,
.stat-num,
.stat-label,
.ellipse-status-pill,
.ellipse-launch-badge,
.about-motto-tag,
.about-vm-tag,
.badge-award-mini,
.surgical-metric-badge,
.surgical-category-tag,
.surgical-highlight-item,
.phaco-badge-pill,
.phaco-step-badge,
.iol-lens-tag,
.iol-clean-pill,
.signature-floating-pill,
.service-tag-pill,
.badge-featured-book,
.book-learn-more-btn,
.clinical-gallery-tag,
.clinical-gallery-pill,
.reel-badge-pill,
.reel-stat-chip,
.loc-badge-tag,
.clinic-badge-pill,
.booking-badge-pill,
.booking-helpline-pill,
.quick-card-tag,
.quick-card-val,
.section-tag {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Promo Badges & Header Tags */
.badge-promo:hover {
    transform: translateY(-2px) scale(1.03);
    background: rgba(255, 255, 255, 0.22);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}
.badge-promo:hover .badge-dot {
    transform: scale(1.3);
    background: #fde047;
    transition: all 0.25s ease;
}

/* Numbers & Stats Zoom */
.stat-num:hover,
.metric-num:hover {
    transform: scale(1.08);
    display: inline-block;
    color: #d4af37 !important;
    text-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}

/* Section Tags */
.section-tag:hover {
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 4px 14px rgba(42, 111, 109, 0.18);
    display: inline-block;
}

/* Launch & Status Pills */
.ellipse-status-pill:hover,
.ellipse-launch-badge:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 22px rgba(42, 111, 109, 0.35);
}

/* Motto & VM Tags */
.about-motto-tag:hover,
.about-vm-tag:hover {
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 4px 12px rgba(42, 111, 109, 0.2);
    display: inline-block;
}

/* Mini Awards Badges */
.badge-award-mini:hover {
    transform: translateY(-2px) scale(1.03);
    background: rgba(212, 175, 55, 0.18);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.18);
}
.badge-award-mini:hover i {
    transform: scale(1.2) rotate(10deg);
    transition: transform 0.2s ease;
}

/* Surgical Metric Badges & Tags */
.surgical-metric-badge:hover {
    transform: translateY(-3px) scale(1.04);
    background: #ffffff !important;
    color: #2a6f6d !important;
    border-color: rgba(42, 111, 109, 0.45) !important;
    box-shadow: 0 6px 16px rgba(42, 111, 109, 0.18) !important;
}
.surgical-category-tag:hover {
    transform: translateY(-2px) scale(1.05);
    background: rgba(42, 111, 109, 0.16);
    box-shadow: 0 4px 12px rgba(42, 111, 109, 0.15);
}
.surgical-highlight-item:hover {
    transform: translateX(4px);
    color: #1e293b;
}
.surgical-highlight-item:hover i {
    transform: scale(1.2);
    color: #2a6f6d;
    transition: transform 0.2s ease;
}

/* Phaco & IOL Pills */
.phaco-badge-pill:hover,
.phaco-step-badge:hover,
.iol-lens-tag:hover,
.iol-clean-pill:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 16px rgba(42, 111, 109, 0.2);
}

/* Signature Floating Cloud Pills */
.signature-floating-pill:hover {
    transform: translateY(-5px) scale(1.06);
    background: #2a6f6d;
    color: #ffffff;
    border-color: #2a6f6d;
    box-shadow: 0 10px 25px rgba(42, 111, 109, 0.35);
}
.signature-floating-pill:hover i {
    color: #fde047;
}

/* Service Suite Tags */
.service-tag-pill:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(42, 111, 109, 0.15);
}

/* Book Card Badges & Learn More Action */
.badge-featured-book:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.25);
}
.book-learn-more-btn:hover .arrow-icon {
    transform: translateX(6px);
    transition: transform 0.25s ease;
}

/* Gallery Tags & Chips */
.clinical-gallery-tag:hover,
.clinical-gallery-pill:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Video Reel Chips */
.reel-badge-pill:hover,
.reel-stat-chip:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Location Badges */
.loc-badge-tag:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 16px rgba(42, 111, 109, 0.2);
}
.loc-badge-tag:hover i {
    transform: scale(1.2) rotate(15deg);
    transition: transform 0.25s ease;
}

/* Booking & Clinic Lounge Badges */
.clinic-badge-pill:hover,
.booking-badge-pill:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 16px rgba(42, 111, 109, 0.25);
}
.booking-helpline-pill:hover {
    transform: translateY(-2px) scale(1.04);
    background: rgba(0, 0, 0, 0.35);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.booking-helpline-pill:hover strong {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(253, 224, 71, 0.6);
}

/* Quick Card Labels */
.quick-card-tag:hover,
.quick-card-val:hover {
    color: #2a6f6d;
}

/* Buttons Subtle Micro-Pops */
.btn-primary:hover,
.theme-submit-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(42, 111, 109, 0.38) !important;
}
.btn-secondary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important;
}

/* Doctor Verified Credential Badges */
.doctor-credential-badge {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: #f8fafc;
    border: 1.5px solid rgba(42, 111, 109, 0.22);
    border-radius: 14px;
    padding: 0.65rem 1.15rem;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease,
                background-color 0.3s ease;
}

.doctor-credential-badge:hover {
    transform: translateY(-5px) scale(1.03);
    background: #ffffff;
    border-color: #2a6f6d;
    box-shadow: 0 14px 30px rgba(42, 111, 109, 0.22);
}

.doctor-credential-badge.badge-osmania {
    border-color: rgba(212, 175, 55, 0.35);
}

.doctor-credential-badge.badge-osmania:hover {
    border-color: #d4af37;
    box-shadow: 0 14px 30px rgba(212, 175, 55, 0.28);
}

.doctor-credential-badge:hover .badge-icon-circle {
    transform: scale(1.15) rotate(8deg);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Phaco Section CTA Phone Pill */
.phaco-cta-phone-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.6rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.3s ease,
                border-color 0.3s ease;
}

.phaco-cta-phone-pill:hover {
    transform: translateY(-4px) scale(1.04);
    background: rgba(255, 255, 255, 0.22);
    border-color: #ffffff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25), 0 0 18px rgba(212, 175, 55, 0.35);
    color: #ffffff;
}

.phaco-cta-phone-pill:hover i {
    transform: scale(1.22) rotate(15deg);
    color: #fde047 !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   ENHANCED SECTION DIVISION & SOFT BACKGROUND SYSTEM (CLEAN & NON-ENDLESS)
   ========================================================================== */

/* Page Level Smooth Container & Background Alternating Harmony */
body {
    background-color: #F8FAF9 !important;
    color: var(--color-text);
}

/* 1. Hero Section (#home) */
.hero-section {
    background: linear-gradient(135deg, #FAF9F6 0%, #E8F4F3 60%, #E0F2F1 100%) !important;
    padding: 9rem 0 7.5rem 0 !important;
    border-bottom-left-radius: 36px;
    border-bottom-right-radius: 36px;
    box-shadow: 0 12px 35px -10px rgba(42, 111, 109, 0.08);
    position: relative;
    margin-bottom: 2.5rem;
    overflow: visible !important;
}

.hero-visual {
    position: relative;
    max-width: 440px;
    width: 100%;
    margin: 0 0 0 auto;
    justify-self: end;
}

.image-wrapper {
    position: relative;
    max-width: 440px;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 6px solid var(--color-white);
    background-color: var(--color-white);
}

.doctor-portrait {
    width: 100%;
    height: auto;
    min-height: 420px;
    max-height: 520px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background-color: #f8fafc;
}

.floating-badge-card {
    position: absolute;
    bottom: 1.5rem !important;
    left: 1.5rem !important;
    right: auto !important;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.85rem 1.25rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.6);
    z-index: 10 !important;
}

/* 2. About & Qualifications Section (#about) */
.about-lux-section,
#about {
    background: #FFFFFF !important;
    margin: 2.5rem auto !important;
    padding: 4.5rem 0 !important;
    border-radius: 32px !important;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.03) !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    max-width: 1380px !important;
    width: 96% !important;
}

/* 3. Areas of Expertise Section (#expertise) */
.expertise-section,
#expertise {
    background: #F0F7F6 !important;
    margin: 2.5rem auto !important;
    padding: 4.5rem 0 !important;
    border-radius: 32px !important;
    box-shadow: 0 10px 30px -5px rgba(42, 111, 109, 0.06) !important;
    border: 1px solid rgba(42, 111, 109, 0.12) !important;
    max-width: 1380px !important;
    width: 96% !important;
}

/* 4. Phacoemulsification & Cataract Center Section (#phacoemulsification) */
.phaco-premium-section,
#phacoemulsification {
    background: #FFFFFF !important;
    margin: 2.5rem auto !important;
    padding: 4.5rem 0 !important;
    border-radius: 32px !important;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.03) !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    max-width: 1380px !important;
    width: 96% !important;
}

/* 5. Hospital Services Offered Section (#services) */
.services-section,
#services {
    background: #F4F8F8 !important;
    margin: 2.5rem auto !important;
    padding: 4.5rem 0 !important;
    border-radius: 32px !important;
    box-shadow: 0 10px 30px -5px rgba(42, 111, 109, 0.05) !important;
    border: 1px solid rgba(42, 111, 109, 0.1) !important;
    max-width: 1380px !important;
    width: 96% !important;
}

/* 6. Signature Treatments Section (#signature-treatments) */
.signature-treatments-section,
#signature-treatments {
    background: linear-gradient(135deg, rgba(224, 242, 241, 0.6), rgba(245, 252, 251, 0.95)) !important;
    margin: 2.5rem auto !important;
    padding: 4.5rem 0 !important;
    border-radius: 32px !important;
    box-shadow: 0 10px 30px -5px rgba(42, 111, 109, 0.06) !important;
    border: 1px solid rgba(42, 111, 109, 0.12) !important;
    max-width: 1380px !important;
    width: 96% !important;
}

/* 7. Tagline Banner Strip */
.tagline-banner {
    background: linear-gradient(135deg, #1C4D4A 0%, #2A6F6D 100%) !important;
    margin: 2.5rem auto !important;
    padding: 2.5rem 2rem !important;
    border-radius: 24px !important;
    box-shadow: 0 15px 35px -5px rgba(42, 111, 109, 0.25) !important;
    max-width: 1380px !important;
    width: 96% !important;
}

/* 8. Stats Section (.stats-section) */
.stats-section {
    background: linear-gradient(135deg, #1C4D4A 0%, #163C39 100%) !important;
    margin: 2.5rem auto !important;
    padding: 4rem 2rem !important;
    border-radius: 32px !important;
    box-shadow: 0 20px 40px -10px rgba(22, 60, 57, 0.3) !important;
    max-width: 1380px !important;
    width: 96% !important;
    overflow: hidden;
}

/* 9. Achievements & Outreach Section (#achievements) */
.achievements-section,
#achievements {
    background: #FFFFFF !important;
    margin: 2.5rem auto !important;
    padding: 4.5rem 0 !important;
    border-radius: 32px !important;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.03) !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    max-width: 1380px !important;
    width: 96% !important;
}

/* 10. Philosophy Callout Section (.philosophy-section) */
.philosophy-section {
    background: linear-gradient(135deg, #1E293B 0%, #1C4D4A 100%) !important;
    margin: 2.5rem auto !important;
    padding: 4.5rem 2rem !important;
    border-radius: 32px !important;
    box-shadow: 0 20px 40px -10px rgba(30, 41, 59, 0.25) !important;
    max-width: 1380px !important;
    width: 96% !important;
    overflow: hidden;
}

/* 11. Clinical Operatory Gallery Section (#clinical-gallery) */
.clinical-gallery-section,
#clinical-gallery {
    background: #F2F7F8 !important;
    margin: 2.5rem auto !important;
    padding: 4.5rem 0 !important;
    border-radius: 32px !important;
    box-shadow: 0 10px 30px -5px rgba(42, 111, 109, 0.05) !important;
    border: 1px solid rgba(42, 111, 109, 0.1) !important;
    max-width: 1380px !important;
    width: 96% !important;
}

/* 12. Testimonials Section (#testimonials) */
.media-section,
#testimonials {
    background: #FFFFFF !important;
    margin: 2.5rem auto !important;
    padding: 4.5rem 0 !important;
    border-radius: 32px !important;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.03) !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    max-width: 1380px !important;
    width: 96% !important;
}

/* 13. Frequently Asked Questions Section (#faq-section) */
.faq-section,
#faq-section {
    background: #F4F8F8 !important;
    margin: 2.5rem auto !important;
    padding: 4.5rem 0 !important;
    border-radius: 32px !important;
    box-shadow: 0 10px 30px -5px rgba(42, 111, 109, 0.05) !important;
    border: 1px solid rgba(42, 111, 109, 0.1) !important;
    max-width: 1380px !important;
    width: 96% !important;
}

/* 14. Hospital Locations & Contact Section (#contact) */
.contact-section,
#contact {
    background: #FFFFFF !important;
    margin: 2.5rem auto 4rem auto !important;
    padding: 4.5rem 0 !important;
    border-radius: 32px !important;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.03) !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    max-width: 1380px !important;
    width: 96% !important;
}

/* Responsiveness for Section Framing */
@media (max-width: 768px) {
    .hero-section {
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
        padding: 7rem 0 3.5rem 0 !important;
        margin-bottom: 1.5rem;
    }

    .about-lux-section, #about,
    .expertise-section, #expertise,
    .phaco-premium-section, #phacoemulsification,
    .services-section, #services,
    .signature-treatments-section, #signature-treatments,
    .tagline-banner,
    .stats-section,
    .achievements-section, #achievements,
    .philosophy-section,
    .clinical-gallery-section, #clinical-gallery,
    .media-section, #testimonials,
    .faq-section, #faq-section,
    .contact-section, #contact {
        border-radius: 20px !important;
        margin: 1.5rem auto !important;
        padding: 3rem 1rem !important;
        width: 98% !important;
    }
}

/* Floating Card Badge Standard */
.floating-badge-card {
    position: absolute;
    bottom: 1.5rem !important;
    left: 1.5rem !important;
    right: auto !important;
    top: auto !important;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.85rem 1.25rem !important;
    border-radius: 1rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.85rem !important;
    box-shadow: var(--shadow-lg, 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    z-index: 10 !important;
    transition: transform 0.35s ease !important;
    max-width: max-content !important;
}

.image-wrapper:hover .floating-badge-card,
.floating-badge-card:hover {
    transform: translateY(-2px) !important;
}

.badge-icon-wrapper {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    background-color: var(--color-light-teal, #e0f2fe) !important;
    color: var(--color-teal, #0284c7) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.badge-card-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge-card-title {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: var(--color-indigo, #0f172a) !important;
    font-family: var(--font-sans, 'DM Sans', sans-serif) !important;
    white-space: nowrap !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}

.badge-card-desc {
    display: none !important;
}
